[19138] in Perl-Users-Digest
Perl-Users Digest, Issue: 1333 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Jul 19 09:05:34 2001
Date: Thu, 19 Jul 2001 06:05:09 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <995547909-v10-i1333@ruby.oce.orst.edu>
Content-Type: text
Perl-Users Digest Thu, 19 Jul 2001 Volume: 10 Number: 1333
Today's topics:
Re: Ann: Zeus Programmers Editor V3.60 (Tim Hammerquist)
Automatic processing of email attachments <abuu@home.com>
Re: Can I <!--include files ??? <bkennedy99@Home.com>
Disabling IE toolbar <hmacdonald@europarl.eu.int>
Re: Disabling IE toolbar <lauren_smith13@hotmail.com>
FAQ: How can I hide the source for my Perl program? <faq@denver.pm.org>
Re: Generic Language interpreter in Perl? <dbe@wgn.net>
Re: Getting always corrupt files while uploading (cgi) (Andreas Schmitz)
Re: I cannot get imagemagick working either <ron@savage.net.au>
Re: imagemagick/perlmagick for windows 2000 <news@simonflack.com>
Re: Including flock in code while developing in Windows <m.grimshaw@salford.ac.uk>
Re: Including flock in code while developing in Windows <m.grimshaw@salford.ac.uk>
is the UK serious about perl? (Jacqui caren)
Re: is the UK serious about perl? <tward10@jaguar.com>
Re: map and split combination slow (Abigail)
Re: New to PERL/CGI question <news@privacy.net>
Re: Pattern Matching Questions <bart.lateur@skynet.be>
Re: Scrollable lists in console <santtu.nyrhinen@nokia.com>
Re: trace function calls (Villy Kruse)
Re: trace function calls (Eric Bohlman)
Re: Upgrade (Andreas Schmitz)
Re: Very Simple Socket Question <bart.lateur@skynet.be>
winzip <peter@perfectlink.com.hk>
Re: winzip <bart.lateur@skynet.be>
Re: Yet Another use/require Question (Abigail)
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Thu, 19 Jul 2001 07:54:50 GMT
From: tim@vegeta.ath.cx (Tim Hammerquist)
Subject: Re: Ann: Zeus Programmers Editor V3.60
Message-Id: <slrn9ld57v.mpc.tim@vegeta.ath.cx>
Me parece que Jussi Jumppanen <jussij@zeusedit.com> dijo:
> The latest release of the Zeus for Windows Version 3.60 programmer's
> editor is now available.
Do you usually cross-post ads for your editor to programming newsgroups?
Wouldn't it be more in keeping with the spirit and purpose of newsgroups
in general if you stayed in comp.editors?
Or is comp.editors really the right place to advertise either?
--
Tools, of course, can be the subtlest of traps.
-- Daniel, The Sandman
------------------------------
Date: Thu, 19 Jul 2001 12:55:51 GMT
From: "Angeline Koh" <abuu@home.com>
Subject: Automatic processing of email attachments
Message-Id: <rNA57.1542$gF5.366343@news2.rdc2.tx.home.com>
Hello all, I need to do this running on unix, and need to know if this is
possible to do in Perl and if someone can give me a push in the right
direction:
Automatically retrieve email attachments without starting the email program,
i.e. run a script from the command line that will do it for me, or even
automate it to run every hour. I only need to retrieve attachments if the
email has a certain subject line. <- I kinda know this part. I need to write
the attachments to disk. I really appreciate any direction you can give me.
Thanks.
Angeline
------------------------------
Date: Thu, 19 Jul 2001 12:53:45 GMT
From: "Ben Kennedy" <bkennedy99@Home.com>
Subject: Re: Can I <!--include files ???
Message-Id: <tLA57.3448$EP6.1146360@news1.rdc2.pa.home.com>
"Terry" <dcs@ntlworld.com> wrote in message
news:Lo%37.39930$B56.8361138@news2-win.server.ntlworld.com...
> Hi,
>
> All of my 'standard' webpages are *.shtml using SSI. This is great in that
I
> can have a standard template file for header, navigation menu and footer
of
> my pages by using the
>
> <!--include file="template.html"-->
> directive.
> I wanted to use the same templates for my cgi pages. Is there any way of
> doing this?
You may want to investigate the HTML::Mason package, which lets you create
and embed reusable "bricks" that contain perl code or html, that can of
course be nested, very php-like. What you would do is implement your server
code as Mason components, then insert a <& header.mc &> (where header.mc is
your header component, which can be dynamic) in your back-end code
components or plain html components. Hope this helps --
--Ben Kennedy
------------------------------
Date: Thu, 19 Jul 2001 09:32:16 +0200
From: harry macdonald <hmacdonald@europarl.eu.int>
Subject: Disabling IE toolbar
Message-Id: <3B568D00.E22380DE@europarl.eu.int>
Can anyone tell me how to disable/enable the IE4 toolbar from a Perl
script.
And where can I find info on controlling the browser from a Perl Script
generally.
Thanks
Harry
------------------------------
Date: Thu, 19 Jul 2001 08:20:35 GMT
From: "Lauren Smith" <lauren_smith13@hotmail.com>
Subject: Re: Disabling IE toolbar
Message-Id: <nLw57.4725$XS4.754890@paloalto-snr1.gtei.net>
"harry macdonald" <hmacdonald@europarl.eu.int> wrote in message
news:3B568D00.E22380DE@europarl.eu.int...
> Can anyone tell me how to disable/enable the IE4 toolbar from a Perl
> script.
>
> And where can I find info on controlling the browser from a Perl
Script
> generally.
O'Reilly's got a decent reference affectionately called the 'rhino book'
(or is it the hippo book? I never can remember). It's all about
Javascript. Likely any decent book on Javascript would be useful,
though, so don't limit yourself to O'Reilly.
Of course, Javascript does not equal Perl. See comp.lang.javascript for
better info on that language.
Lauren
------------------------------
Date: Thu, 19 Jul 2001 12:17:07 GMT
From: PerlFAQ Server <faq@denver.pm.org>
Subject: FAQ: How can I hide the source for my Perl program?
Message-Id: <7dA57.15$EW5.170731520@news.frii.net>
This message is one of several periodic postings to comp.lang.perl.misc
intended to make it easier for perl programmers to find answers to
common questions. The core of this message represents an excerpt
from the documentation provided with every Standard Distribution of
Perl.
+
How can I hide the source for my Perl program?
Delete it. :-) Seriously, there are a number of (mostly unsatisfactory)
solutions with varying levels of ``security''.
First of all, however, you *can't* take away read permission, because
the source code has to be readable in order to be compiled and
interpreted. (That doesn't mean that a CGI script's source is readable
by people on the web, though--only by people with access to the
filesystem.) So you have to leave the permissions at the socially
friendly 0755 level.
Some people regard this as a security problem. If your program does
insecure things and relies on people not knowing how to exploit those
insecurities, it is not secure. It is often possible for someone to
determine the insecure things and exploit them without viewing the
source. Security through obscurity, the name for hiding your bugs
instead of fixing them, is little security indeed.
You can try using encryption via source filters (Filter::* from CPAN),
but any decent programmer will be able to decrypt it. You can try using
the byte code compiler and interpreter described below, but the curious
might still be able to de-compile it. You can try using the native-code
compiler described below, but crackers might be able to disassemble it.
These pose varying degrees of difficulty to people wanting to get at
your code, but none can definitively conceal it (true of every language,
not just Perl).
If you're concerned about people profiting from your code, then the
bottom line is that nothing but a restrictive license will give you
legal security. License your software and pepper it with threatening
statements like ``This is unpublished proprietary software of XYZ Corp.
Your access to it does not give you permission to use it blah blah
blah.'' We are not lawyers, of course, so you should see a lawyer if you
want to be sure your license's wording will stand up in court.
-
Documents such as this have been called "Answers to Frequently
Asked Questions" or FAQ for short. They represent an important
part of the Usenet tradition. They serve to reduce the volume of
redundant traffic on a news group by providing quality answers to
questions that keep coming up.
If you are some how irritated by seeing these postings you are free
to ignore them or add the sender to your killfile. If you find
errors or other problems with these postings please send corrections
or comments to the posting email address or to the maintainers as
directed in the perlfaq manual page.
Answers to questions about LOTS of stuff, mostly not related to
Perl, can be found by pointing your news client to
news:news.answers
or to the many thousands of other useful Usenet news groups.
Note that the FAQ text posted by this server may have been modified
from that distributed in the stable Perl release. It may have been
edited to reflect the additions, changes and corrections provided
by respondents, reviewers, and critics to previous postings of
these FAQ. Complete text of these FAQ are available on request.
The perlfaq manual page contains the following copyright notice.
AUTHOR AND COPYRIGHT
Copyright (c) 1997-1999 Tom Christiansen and Nathan
Torkington. All rights reserved.
This posting is provided in the hope that it will be useful but
does not represent a commitment or contract of any kind on the part
of the contributers, authors or their agents.
03.21
--
This space intentionally left blank
------------------------------
Date: Thu, 19 Jul 2001 01:28:29 -0700
From: "$Bill Luebkert" <dbe@wgn.net>
Subject: Re: Generic Language interpreter in Perl?
Message-Id: <3B569A2D.2DA3FD35@wgn.net>
Tony Curtis wrote:
>
> >> On Wed, 18 Jul 2001 13:38:03 -0700,
> >> Ed Kulis <ekulis@apple.com> said:
>
> > Hi, I find myself always wanting to write little
> > languages in configuration files and then to interpret
> > them.
>
> > Here's some sample instuctions that could direct
> > activity for that directory. #------------------------
> > File name: !!!directory_maintenance.cfg
>
> > In this file would be instructions like:
>
> > # cfg file comment
> >
> > # for interface log files compress at 15 days old
> > #
> > file pattern: interface.*\.dat
> > compress days: 15
> > notify: ekulis@apple.com
> >
> > # remove compressed interface files at 30 days old
> > #
> > file pattern: interface.*\.dat.Z
> > remove days: 30
> >
> > ...
>
> With a slight syntax change, you could probably use
> something like Config::IniFiles for this.
>
> [compressor]
> pattern = interface.*.dat
> time = 15d
> notify = ...@...
>
> [remove]
> pattern = ...
> time = 30d
> ...
Or another slight change and you can just include it and execute it
(maybe do some scoping changes):
$file_pattern = 'interface.*\.dat';
$compress_days = 15;
$notify = 'ekulis@apple.com';
$file_pattern = 'interface.*\.dat.Z';
$remove_days = 30;
$file_pattern = 'activity.*\.log';
$truncate_top = .50;
$file_pattern = 'vendor_request.\.dat';
$archive_days = 5;
$arcchive_dir = '../Archives';
$compress_archive = '';
@notify = ('opsmanager@apple.com', 'ekulis@apple.com');
--
,-/- __ _ _ $Bill Luebkert ICQ=14439852
(_/ / ) // // DBE Collectibles Mailto:dbe@todbe.com
/ ) /--< o // // http://dbecoll.webjump.com/ (Free site for Perl)
-/-' /___/_<_</_</_ Castle of Medieval Myth & Magic http://www.todbe.com/
------------------------------
Date: Thu, 19 Jul 2001 08:27:41 GMT
From: technik@medialsoft.de (Andreas Schmitz)
Subject: Re: Getting always corrupt files while uploading (cgi)
Message-Id: <3b55f5ed.12593735@news.btx.dtag.de>
On Wed, 18 Jul 2001 11:19:26 +0200, "Georg Vassilopulos"
<Georg.Vassilopulos@SoftwareAG.de> wrote:
>use CGI qw(:standard);
use CGI::Carp qw(fatalsToBrowser);
$CGI::POST_MAX=1024 * 100;
>my $file = $query->param('Datei');
You can't do HTTP upload unless your from use multipart/form-data.
Please check this.
>open (UPFILE, ">$myFile"); || die"no such upfile,$!";
>while (read($file, $buffer, 1024)) { print UPFILE $buffer; }
close (UPFILE) || die "no closing,$!";
--
#!C:\perl\bin\perl.exe -wT
print map {chr(ord($_)-3)} split //, "Dqguhdv0Vfkplw}Cw0rqolqh1gh";
# Andreas Schmitz http://www.medialsoft.de
# medialsoft (perlprogramming...) post@medialsoft.de
------------------------------
Date: Thu, 19 Jul 2001 17:14:07 +1000
From: "Ron Savage" <ron@savage.net.au>
Subject: Re: I cannot get imagemagick working either
Message-Id: <5Qv57.94436$Rr4.385019@ozemail.com.au>
Donald
See below.
--
Cheers
Ron Savage
ron@savage.net.au
http://savage.net.au/index.html
Donald Davis <dbdavids@uiuc.edu> wrote in message news:3B560188.430A56C1@uiuc.edu...
> Can someone tell me step by step how to get imagemagick working, I keep
> screwing something up.
And your OS is?
For WinNT, see http://savage.net.au/Ron/PerlMagick.html
------------------------------
Date: Thu, 19 Jul 2001 11:44:53 +0100
From: "Simon Flack" <news@simonflack.com>
Subject: Re: imagemagick/perlmagick for windows 2000
Message-Id: <9j6dlk$lu3mh$1@ID-83895.news.dfncis.de>
> that creates a file magick.dll, I take it is the same thing?
I am not sure. But the ppm installation works the same as the download from
imagemagick.org only it's less to download and easier to install.
Simon
"Daniel Davidson" <danield@life.uiuc.edu> wrote in message
news:9Xj57.1763$oz3.22985@vixen.cso.uiuc.edu...
> that creates a file magick.dll, I take it is the same thing?
>
> Dan
>
>
> "Simon Flack" <news@simonflack.com> wrote in message
> news:9j4cvu$m7erb$1@ID-83895.news.dfncis.de...
> > > I have been trying to get perlmagick to work in windows 2000 for a
good
> > bit
> > > now. It may be related to the directions asking for you to move
> > imagick.dll
> > > and xll.dll to the perl\bin directory. Howeer these files are never
> > created
> > > no matter wich of the build options I do.
> >
> > Those dlls come with the binary version of ImageMagick - a 2mb download.
> >
> > Alternatively, (if you are using ActivePerl), just type:
> >
> > ppm install Image::Magick
> >
> > in your command prompt.
> >
> > Simon
> >
> >
>
>
------------------------------
Date: Thu, 19 Jul 2001 09:52:18 +0100
From: Mark Grimshaw <m.grimshaw@salford.ac.uk>
Subject: Re: Including flock in code while developing in Windows for Unix??
Message-Id: <3B569FC2.80D44625@salford.ac.uk>
Michael Carman wrote:
>
> Mark Grimshaw wrote:
> >
> > Jeff Zucker wrote:
> >>
> >> Bart Lateur wrote:
> >>>
> >>> if(eval "use Fcntl qw(:flock); 1") # has flock()
> >>
> >> Except that that doesn't work (and uses evil string eval :-)).
> >>
> >> use constant HAS_FLOCK => eval { flock STDOUT, 0; 1 };
> >>
> >
> > That seems to work fine - thanks.
>
> I'm sure that Jeff is delighted that someone finally listened to him. :)
>
<snip>
I'll stick with Jeff's version which is what works for me. I'd still be
curious to know why, on WinNT ActiveState, the following:
BEGIN {
if(eval "use Fcntl qw(:flock)") # no flock()
{
print "has flock: $@\n\n";
}
else
{
use Fcntl;
print "no flock: $@\n\n";
}
}
prints "no flock: " with nothing in $@. I certainly do have flock and
am able to use it.
------------------------------
Date: Thu, 19 Jul 2001 10:04:19 +0100
From: Mark Grimshaw <m.grimshaw@salford.ac.uk>
Subject: Re: Including flock in code while developing in Windows for Unix??
Message-Id: <3B56A293.C7054E2E@salford.ac.uk>
(corrected typo in comment)
> I'll stick with Jeff's version which is what works for me. I'd still be
> curious to know why, on WinNT ActiveState, the following:
>
> BEGIN {
> if(eval "use Fcntl qw(:flock)") # HAS flock()
> {
> print "has flock: $@\n\n";
> }
> else
> {
> use Fcntl;
> print "no flock: $@\n\n";
> }
> }
>
> prints "no flock: " with nothing in $@. I certainly do have flock and
> am able to use it.
------------------------------
Date: Thu, 19 Jul 2001 10:41:54 GMT
From: Jacqui.Caren@ig.co.uk (Jacqui caren)
Subject: is the UK serious about perl?
Message-Id: <90E376A38JacquiCarenigcouk@195.8.69.73>
I am curious if anyone else has seen a pattern emerging
upon the perl jobs mailing list.
US based companies seem to use perl for serious business
critical systems whereas UK based vacancies imply 'toy'
web usage of perl/DBI. Also adverts from UK companies
lack that quality feel that the majority of US posters
seem to give out. I honestly wonder if any decent perl
folks even bother to reply to such badly structured
'desperate sounding' adverts.
My question is - are we the only people in the UK doing
serious business critical systems using perl as a core
development tool?
I know there are companies doing commercial web work
integrating database backends however we have to admit
that the general market is now tools oriented and the
bottom has dropped out of the market for large scale
bespoke web systems developments.
Note that I would like to qualify 'large scale' to cover
systems with project budgets in excess of 200K UKP using
commercial RDBMS backends etc.
Jacqui Caren
------------------------------
Date: Thu, 19 Jul 2001 12:37:39 +0100
From: "Trevor Ward" <tward10@jaguar.com>
Subject: Re: is the UK serious about perl?
Message-Id: <9j6gq5$q4a10@eccws12.dearborn.ford.com>
Well maybe we are.
About 10 of us sat here writing developing business critical bespoke
applications using Perl and Oracle 8. ok Web Technologies used. High
security systems available to external users as well as internal.
I have to agree though some of the adverts for Perl jobs are really crap. Do
the agencies or even employers know what Perl is.
Anyway enough don't start me on that topic.
So no your not alone in the dark.
"Jacqui caren" <Jacqui.Caren@ig.co.uk> wrote in message
news:90E376A38JacquiCarenigcouk@195.8.69.73...
> I am curious if anyone else has seen a pattern emerging
> upon the perl jobs mailing list.
>
> US based companies seem to use perl for serious business
> critical systems whereas UK based vacancies imply 'toy'
> web usage of perl/DBI. Also adverts from UK companies
> lack that quality feel that the majority of US posters
> seem to give out. I honestly wonder if any decent perl
> folks even bother to reply to such badly structured
> 'desperate sounding' adverts.
>
> My question is - are we the only people in the UK doing
> serious business critical systems using perl as a core
> development tool?
>
> I know there are companies doing commercial web work
> integrating database backends however we have to admit
> that the general market is now tools oriented and the
> bottom has dropped out of the market for large scale
> bespoke web systems developments.
>
> Note that I would like to qualify 'large scale' to cover
> systems with project budgets in excess of 200K UKP using
> commercial RDBMS backends etc.
>
> Jacqui Caren
>
------------------------------
Date: 19 Jul 2001 07:16:30 GMT
From: abigail@foad.org (Abigail)
Subject: Re: map and split combination slow
Message-Id: <slrn9ld2c2.pdd.abigail@alexandra.xs4all.nl>
Eric Bohlman (ebohlman@omsdev.com) wrote on MMDCCCLXXIX September
MCMXCIII in <URL:news:9j5dp5$kss$1@bob.news.rcn.net>:
??
?? Using map in a void context is frowned upon; use for() if you're just
?? applying some operation to each element of a list without creating a new
?? list.
It's cargo-cult frowning though. There is, from a language aspect,
nothing wrong with using map in void context, except that an author of
some books started frowning and he's now followed. The only potential
problem lies in the implementation of Perl, perl. It's a bit slower that
it has to. This however has been known for many years, and it isn't slow
enough that anyone actually bothers to fix it.
Oh, and for those willing to bring up the issue "but you are ignoring
the return value of map and just relying on side effects", I'd like
to point out that ignoring return values in Perl is extremly common.
Regexes, substitutions, assignments and prints all have returns values,
and many of those return values are ignored. And noone whines about them.
Abigail
--
BEGIN {$^H {join "" => ("a" .. "z") [8, 13, 19, 4, 6, 4, 17]} = sub
{["", "Just ", "another ", "Perl ", "Hacker\n"] -> [shift]};
$^H = hex join "" => reverse map {int ($_ / 2)} 0 .. 4}
print 1, 2, 3, 4;
------------------------------
Date: Thu, 19 Jul 2001 12:17:51 +0100
From: Steve <news@privacy.net>
Subject: Re: New to PERL/CGI question
Message-Id: <rbgdltkcs8bp5458j0t4i1val4i6ec5bps@4ax.com>
On Wed, 18 Jul 2001 17:17:21 -0600, the CyberPaladin heard from
"Richard A. Evans" <EvR@compuserve.com> the following:
>> however the only output I get on my pages is: [an error occurred
>> while processing this directive]
>>
>> If I run the script from Telnet I get this
>>
>> Content-type: text/html
>>
>> 2
>>
>
>Without seeing your perl code, I'd guess that you're not printing a valid
>header.
>If you're using cgi.pm, you'd use
>
> $q = new CGI;
> print $q->header();
>
>And if you're coding it my hand, you'd use
>
> print "Content-type: text/html\n\n";
>
>
The script is a freebie one downloaded, I think the header output is
OK - shown below.
---------------------------------------------------
Content-type: text/html
Thursday, July 19, 2001 - 12:16
------------------------------
Date: Thu, 19 Jul 2001 10:50:22 GMT
From: Bart Lateur <bart.lateur@skynet.be>
Subject: Re: Pattern Matching Questions
Message-Id: <7uedlt8r5ra928nndfuuo2ih4r5ocliitc@4ax.com>
Tad McClellan wrote:
>>>Question - I'd like to be able to keep other .txt files in the same
>>>directory, that is, I'd like to only match on the foo*.txt files. I tried a
>>>few variations of the grep, but couldn't seem to get it to work. Any
>>>suggestions?
>
>
> @txt_files = grep { /foo.*\.txt$/} readdir (DIR);
You forgot the leading anchor:
@txt_files = grep { /^foo.*\.txt$/} readdir (DIR);
--
Bart.
------------------------------
Date: Thu, 19 Jul 2001 10:34:59 GMT
From: "Santtu" <santtu.nyrhinen@nokia.com>
Subject: Re: Scrollable lists in console
Message-Id: <nJy57.16517$cF.364794@news1.nokia.com>
I use Linux bash shell and Windows NT console and some cases telnet to logon
to linux server from NT.
So I can't use any GUI menus/list/etc....
I thought that if I write it with perl I can use the same script in Unix and
NT.
Can this Tk be used in text mode?
-Santtu
Bob Walton wrote in message <3B564E3F.56EC6727@rochester.rr.com>...
>Santtu wrote:
>...
>> Does anyone know how to create scrollable lists in console window?
>> The idea is that there can be atleast 250 lines where user must select
one
>> and then go on with other list.
>>
>> Where can I get the size of my console window. Number of lines???
>...
>> Santtu
>What "console window" are you running? What is your OS? And: What is
>your Perl question? Sounds like maybe you want to consider use Tk; .
>--
>Bob Walton
------------------------------
Date: 19 Jul 2001 08:02:14 GMT
From: vek@pharmnl.ohout.pharmapartners.nl (Villy Kruse)
Subject: Re: trace function calls
Message-Id: <slrn9ld505.fi.vek@pharmnl.ohout.pharmapartners.nl>
On 18 Jul 2001 17:16:27 GMT,
Anno Siegel <anno4000@lublin.zrz.tu-berlin.de> wrote:
>
>Uh, he wants to parse javascript, not Perl.
>
Then it would be a good idea to have excluded comp.lang.perl.misc from
the original NG list.
Villy
------------------------------
Date: 19 Jul 2001 09:28:43 GMT
From: ebohlman@omsdev.com (Eric Bohlman)
Subject: Re: trace function calls
Message-Id: <9j698b$6hp$1@bob.news.rcn.net>
In comp.lang.perl.misc Villy Kruse <vek@pharmnl.ohout.pharmapartners.nl> wrote:
> On 18 Jul 2001 17:16:27 GMT,
> Anno Siegel <anno4000@lublin.zrz.tu-berlin.de> wrote:
>>
>>Uh, he wants to parse javascript, not Perl.
>>
> Then it would be a good idea to have excluded comp.lang.perl.misc from
> the original NG list.
Considering that he wants to write Perl code to parse the Javascript, that
doesn't sound like a good idea at all. Perl is a far better language than
Javascript for the sort of analysis the OP wants to do, and the fact that
the stuff being analyzed is Javascript code doesn't change that.
------------------------------
Date: Thu, 19 Jul 2001 08:38:50 GMT
From: technik@medialsoft.de (Andreas Schmitz)
Subject: Re: Upgrade
Message-Id: <3b569c3b.1444596@news.compuserve.de>
On 18 Jul 2001 22:36:48 GMT, "Jason Yang \(HotMail\)"
<jasonyang88@hotmail.com> wrote:
Hallo,
>Is there any way to upgrade perl from old version?
yes, there are many ways to upgrade your old version.
Remove the old one from your system and install the new one.
--
#!C:\perl\bin\perl.exe -wT
print map {chr(ord($_)-3)} split //, "Dqguhdv0Vfkplw}Cw0rqolqh1gh";
# Andreas Schmitz http://www.medialsoft.de
# medialsoft (perlprogramming...) post@medialsoft.de
------------------------------
Date: Thu, 19 Jul 2001 12:43:28 GMT
From: Bart Lateur <bart.lateur@skynet.be>
Subject: Re: Very Simple Socket Question
Message-Id: <kdldlt08a02nu0ihalh6kuoksvk88aeai2@4ax.com>
Thing wrote:
>omg this is so confusing, i write VB code where things are a lot less
>cryptic. WTF is $_ ???
$_ is the default variable for many operations. Assembler programmers
would think of it as the accumulator register. Use it to temporarily
hold/manipulate a value.
For example, regexes, by default, search in $_. A bare
/$re/
is the same as
$_ =~ /$re/
but with less superfluous text.
--
Bart.
------------------------------
Date: Thu, 19 Jul 2001 16:32:59 +0800
From: Peter Tang <peter@perfectlink.com.hk>
Subject: winzip
Message-Id: <3B569B3B.B041C90A@perfectlink.com.hk>
Dear All,
Do you have an idea how can Perl handle files made by winzip. It seems
that all the modules available can only unzip files made by gzip etc.
Thanks a lot!
Peter Tang
------------------------------
Date: Thu, 19 Jul 2001 08:57:24 GMT
From: Bart Lateur <bart.lateur@skynet.be>
Subject: Re: winzip
Message-Id: <ja8dltc2vo7j2ulh7d9go3lq1godl3o9n3@4ax.com>
Peter Tang wrote:
>Do you have an idea how can Perl handle files made by winzip. It seems
>that all the modules available can only unzip files made by gzip etc.
Archive::Zip should do what you want.
--
Bart.
------------------------------
Date: 19 Jul 2001 07:33:35 GMT
From: abigail@foad.org (Abigail)
Subject: Re: Yet Another use/require Question
Message-Id: <slrn9ld3c3.pdd.abigail@alexandra.xs4all.nl>
Martien Verbruggen (mgjv@tradingpost.com.au) wrote on MMDCCCLXXIX
September MCMXCIII in <URL:news:slrn9lcko1.1rf.mgjv@verbruggen.comdyn.com.au>:
`` On Wed, 18 Jul 2001 22:19:48 GMT,
`` David Marshall <marshall@chezmarshall.com> wrote:
``
`` > I have observed in .pm files under my /usr/local/lib/perl5/5.6.1, there
`` > are 33 lines that match '^use Exporter' and 55 lines that match '^require
`` > Exporter'. Other than personal preference, is there any real
`` > significance to the choice between "use" and "require" in this instance?
``
`` Not really. The 'require Exporter' is a bit of a historical thing,
`` people copying from the manual page, I suppose.
use Exporter; will call Exporter::import() which will have some
impact. But your machine has to be quite slow for you to notice
the difference.
Abigail
--
perl -we 'eval {die ["Just another Perl Hacker\n"]}; print ${$@}[$#{@${@}}]'
# A dove nesting in
# the branches of a maple tree.
# A purring tiger.
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc. For subscription or unsubscription requests, send
the single line:
subscribe perl-users
or:
unsubscribe perl-users
to almanac@ruby.oce.orst.edu.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.
For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 1333
***************************************