[8668] in Perl-Users-Digest
Perl-Users Digest, Issue: 2285 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Apr 9 19:07:19 1998
Date: Thu, 9 Apr 98 16:00:34 -0700
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Thu, 9 Apr 1998 Volume: 8 Number: 2285
Today's topics:
Announce: Intro to Perl 5 document available (Russell Quong)
Re: arrays in Format (Jason Gloudon)
Re: Bill Gates should be invited to O'Reilly's "Free So <troll@net-link.net>
Re: Bill Gates should be invited to O'Reilly's "Free So <rra@stanford.edu>
Re: Bill Gates should be invited to O'Reilly's "Free So <rra@stanford.edu>
Re: crontab command (Jonathan Stowe)
DBI Oracle for HPUX 10 without Pro*C Danny_Aldham@bctel.com
Re: Detect broken links? <grinch@whoville.com>
Re: Detect broken links? <rootbeer@teleport.com>
Re: Detect broken links? <ben@wallroyds.demon.co.uk>
Re: Detect broken links? <ben@wallroyds.demon.co.uk>
Re: display location in browser for bookmarking <grinch@whoville.com>
Re: display location in browser for bookmarking (Jonathan Stowe)
Re: Explicit Variable Declarations <rmangi@tgix.com>
Re: greediness problem matching date expressions? help (Jonathan Stowe)
HELP:installing CPAN on sun4/perl5.003 <NO-SPAM-gheil@gte.net>
How to generate Passwords from Usernames in Perl ? (Heggie)
Installing JPL toolkit on HPUX (Kevin Dee Sheely)
Re: Looking for Polling/Voting CGI/java Script <sneaker@mediaone.net>
Re: Looking for Polling/Voting CGI/java Script (brian d foy)
Re: LWP that works with SLL (Jonathan Stowe)
Re: Need a web login script <sneaker@mediaone.net>
Re: Obfuscated Perl: figure this one out (Kevin Reid)
Re: Perl Script on NT <ion@aroma.com>
Re: Perl.exe (Jonathan Stowe)
Re: problem with output (Jonathan Stowe)
Re: Problems with "use integer" in combination of CGI.p <rootbeer@teleport.com>
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 9 Apr 1998 14:54:50 -0700
From: quong@shell14.ba.best.com (Russell Quong)
Subject: Announce: Intro to Perl 5 document available
Message-Id: <6gjg3a$pjo$1@shell14.ba.best.com>
Keywords: perl document, introduction to perl
I've written a free document available in both HTML and postscript.
Perl in 20 pages
at
http://www.best.com/~quong/perlin20/perlin20.html
which is a concise guide for the medium-to-advance programmer to get
them up to speed on Perl 5 quickly.
I do not read the Perl newsgroups, so follow up via email.
----------------------------------------------------------------
Russell Quong quong@best.com http://www.best.com/~quong
------------------------------
Date: Thu, 09 Apr 1998 22:28:26 GMT
From: jgloudon@manitoba.bbn.com (Jason Gloudon)
Subject: Re: arrays in Format
Message-Id: <slrn6iqin8.3vq.jgloudon@manitoba.bbn.com>
James Ludlow <ludlow@us.ibm.com> wrote:
>for (@array) {
> $format .= "@>> "; # Or whatever you want to use as a picture
>}
Or : $format .= "@>> " x @array; # using the repitition operator
--
Jason Gloudon
------------------------------
Date: Thu, 09 Apr 1998 17:41:43 -0400
From: mike <troll@net-link.net>
Subject: Re: Bill Gates should be invited to O'Reilly's "Free Software Summit" (was Re: RMS should be invited to O'Reilly's "Free Software Summit")
Message-Id: <352D4097.16E6A3B8@net-link.net>
Tim Smith wrote:
>
> <ben@hayamasa.demon.co.uk> wrote:
> >O'Reilly publishes several books about free software. O'Reilly have
> >taken several freely redistributable works and turned them into
> >proprietory works. The best known example is the X windows
> >documentation which was taken by O'Reilly and made into proprietory
> >books with the freedoms removed. Several other freely redistributable
> >works have been turned into books and taken out of the free realm by
> >O'Reilly. In many cases, unlike the X windows documentation, they
> >have been killed off as freely redistributable works, so O'Reilly is a
> >company that has done some harm to free redistribution.
>
> Unless O'Reilly has hacked into assorted FTP servers and removed the
> free software, they have not killed off any free software, nor made
> it unavailable. Rather, they have offered a non-free alternative.
>
> --Tim Smith
I fully agree. Many of the applications that set the standard are free,
which means that you had better build a really good productif you think
you'll sell it. It also means that you have code that you can examine to
see where you think you can substantially improve it, provided you have
the skills( I don't currently, but I'm steadily at it) < ;^).
-Mike List
------------------------------
Date: 09 Apr 1998 15:48:05 -0700
From: Russ Allbery <rra@stanford.edu>
Subject: Re: Bill Gates should be invited to O'Reilly's "Free Software Summit" (was Re: RMS should be invited to O'Reilly's "Free Software Summit")
Message-Id: <m3g1jm393u.fsf@windlord.Stanford.EDU>
In gnu.misc.discuss, Quentin Fennessy <quentin.fennessy@amd.com> writes:
> About 60,000 lines of docs. Free. Despite the existence of O'Reilly
> Perl books.
And furthermore, most of the documentation that comes with Perl was
written by the same people who wrote the books. Imagine that. And in
many cases, it's better and more complete.
--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
------------------------------
Date: 09 Apr 1998 15:48:34 -0700
From: Russ Allbery <rra@stanford.edu>
Subject: Re: Bill Gates should be invited to O'Reilly's "Free Software Summit" (was Re: RMS should be invited to O'Reilly's "Free Software Summit")
Message-Id: <m3d8eq3931.fsf@windlord.Stanford.EDU>
In gnu.misc.discuss, ben <ben@hayamasa.demon.co.uk> writes:
> What I was refering to was taking something such as source code which is
> freely redistributable and turning it into something proprietory, which
> is quite a large part of O'Reilly's business.
Perhaps you'd like to supply an example? I've never heard of any such
thing.
--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
------------------------------
Date: Thu, 09 Apr 1998 01:33:28 GMT
From: Gellyfish@btinternet.com (Jonathan Stowe)
Subject: Re: crontab command
Message-Id: <352c0d81.91949118@news.btinternet.com>
On Thu, 09 Apr 1998 11:16:18 -0400, Stacy Hunter <snx@snx.com> wrote:
>I apologize if this is somewhat off topic, however, what I would like to
>do is launch a perl script from crontab, thus if I wanted the script
>"file.pl" launched every morning at 10, the line would look like:
>
>* 10 * * * ____________/path/file.pl.
>
<snip>
You will need to supply the full path to your script ie:
* 10 * * * /home/snx/bin/file.pl ; # A made up path.
There are some caveats to running a script from cron.
You may not have any environment to speak of in your cronjob so if you
are using any external programs that require such you may have to
fiddle with your %ENV to create the appropriate environment. Also any
output created by your program (both STDOUT & STDERR ) will be
delivered by mail most probably so you may have to redirect your
output appropriately if it needs to be collected.
/J\
Jonathan Stowe
See the MetaFaq at http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm
------------------------------
Date: Thu, 09 Apr 1998 16:35:37 -0600
From: Danny_Aldham@bctel.com
Subject: DBI Oracle for HPUX 10 without Pro*C
Message-Id: <6gjeva$55b$1@nnrp1.dejanews.com>
I would like to use the DBI::Oracle module to access some Oracle
data via perl cgi scripts. But, I do not have the Pro*C library
required to build the module. Does anyone have a binary distribution
I could borrow?
Thanks
Danny Aldham
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
------------------------------
Date: Thu, 9 Apr 1998 17:47:50 -0400
From: "Grinch" <grinch@whoville.com>
Subject: Re: Detect broken links?
Message-Id: <6gjetl$lng@fridge.shore.net>
bjf wrote in message
<892149361.18864.0.nnrp-04.c2de5b4a@news.demon.co.uk>...
>I wonder, how can I detect broken links using Perl? Like many search
>engines, ... How do you do it?
Use LWP to get a page
If the page can't be retrieved, mark the link as "broken" by logging it to a
file, build a list or a hash table to hold the information, whatever suits
your needs.
If it can be retrieved, use the HTML::* modules for parsing out the link
elements. For each link element, repeat the above.
You'll need to set a maximum recursion depth, if you don't want the script
to run forever.
Details on using all of the above mentioned modules are in perldoc.
HTH!
-grinch
--
"Of course coffee doesn't make the world go around. It
just makes it go faster." - me
Sherm Pendley
grinch@whoville.com
http://www.whoville.com
------------------------------
Date: Thu, 9 Apr 1998 14:44:14 -0700
From: Tom Phoenix <rootbeer@teleport.com>
To: bjf <ben@wallroyds.demon.co.uk>
Subject: Re: Detect broken links?
Message-Id: <Pine.GSO.3.96.980409144009.9100d-100000@user2.teleport.com>
On Thu, 9 Apr 1998, bjf wrote:
> I wonder, how can I detect broken links using Perl?
I think you could use the methods in Randal's fourteenth Web Techniques
column, which has a link verifier _and_ a full explanation of how it
works. (And I hear that he may even improve on this program in a future
column, so if you get a subscription, you might see the improved one
before it's on the web.) Hope this helps!
http://www.stonehenge.com/merlyn/WebTechniques/
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Thu, 9 Apr 1998 23:11:26 +0100
From: "bjf" <ben@wallroyds.demon.co.uk>
Subject: Re: Detect broken links?
Message-Id: <892159897.25716.0.nnrp-08.c2de5b4a@news.demon.co.uk>
Great! Thanks .. I'll check that site out!
Couldn't believe it that the question was answered by a famous guy who was
named in the book I have right here! (Nutshell Perl)
Thanks again!
BJF.
Tom Phoenix wrote in message ...
>On Thu, 9 Apr 1998, bjf wrote:
>
>> I wonder, how can I detect broken links using Perl?
>
>I think you could use the methods in Randal's fourteenth Web Techniques
>column, which has a link verifier _and_ a full explanation of how it
>works. (And I hear that he may even improve on this program in a future
>column, so if you get a subscription, you might see the improved one
>before it's on the web.) Hope this helps!
>
> http://www.stonehenge.com/merlyn/WebTechniques/
>
>--
>Tom Phoenix Perl Training and Hacking Esperanto
>Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
>
------------------------------
Date: Thu, 9 Apr 1998 23:12:43 +0100
From: "bjf" <ben@wallroyds.demon.co.uk>
Subject: Re: Detect broken links?
Message-Id: <892159976.25778.0.nnrp-08.c2de5b4a@news.demon.co.uk>
Umm ... What about the 404 pages? Will those pages be classified as broken
links or not?
BJF.
Grinch wrote in message <6gjetl$lng@fridge.shore.net>...
>bjf wrote in message
><892149361.18864.0.nnrp-04.c2de5b4a@news.demon.co.uk>...
>
>>I wonder, how can I detect broken links using Perl? Like many search
>>engines, ... How do you do it?
>
>
>Use LWP to get a page
>
>If the page can't be retrieved, mark the link as "broken" by logging it to
a
>file, build a list or a hash table to hold the information, whatever suits
>your needs.
>
>If it can be retrieved, use the HTML::* modules for parsing out the link
>elements. For each link element, repeat the above.
>
>You'll need to set a maximum recursion depth, if you don't want the script
>to run forever.
>
>Details on using all of the above mentioned modules are in perldoc.
>
>HTH!
>
>-grinch
>
>--
>"Of course coffee doesn't make the world go around. It
>just makes it go faster." - me
>
>Sherm Pendley
>grinch@whoville.com
>http://www.whoville.com
>
>
>
------------------------------
Date: Thu, 9 Apr 1998 17:51:27 -0400
From: "Grinch" <grinch@whoville.com>
Subject: Re: display location in browser for bookmarking
Message-Id: <6gjf4e$lo4@fridge.shore.net>
bob_barthelow@hp.com wrote in message <6gior2$98g$1@nnrp1.dejanews.com>...
>The form in the page that makes the call to the perl script passes the
>parameters using POST.
There's the problem.
>Being new at this I looked at AltaVista as an example. When I search on
gorp,
>what is returned in the location field is:
>
>http://altavista.digital.com/cgi-bin/query?pg=q&what=web&kl=XX&q=gorp&searc
h.x
>=38&search.y=8.
Their forms use GET, so that the form data is part of the URL instead of
sent separately.
>How can I accomplish this in my perl CGI program?
If you're using CGI.pm, no changes are necessary in your script. It handles
GET vs. POST transparently, so simply changing the form should suffice.
HTH!
-grinch
--
"Of course coffee doesn't make the world go around. It
just makes it go faster." - me
Sherm Pendley
grinch@whoville.com
http://www.whoville.com
------------------------------
Date: Thu, 09 Apr 1998 01:33:37 GMT
From: Gellyfish@btinternet.com (Jonathan Stowe)
Subject: Re: display location in browser for bookmarking
Message-Id: <352c20ea.96444784@news.btinternet.com>
On Thu, 09 Apr 1998 10:17:54 -0600, bob_barthelow@hp.com wrote:
<snip>
> .... What I want to have appear in
>the browser location: window is -
>http://my.web.server/scripts/myperl.pl?p1=x&p2=y....etc.
>The form in the page that makes the call to the perl script passes the
>parameters using POST.
>
Nothing to do with perl at all of course (and thus off-topic for this
newsgroup) but what other method might one use from a form? The HTTP
& CGI specs might be of great use here ...
/J\
Jonathan Stowe
See the MetaFaq at http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm
------------------------------
Date: Thu, 09 Apr 1998 17:45:58 -0400
From: Rick Mangi <rmangi@tgix.com>
To: Faisal Karmali <fkarmali@uwaterloo.ca>
Subject: Re: Explicit Variable Declarations
Message-Id: <352D4196.22E78AD0@tgix.com>
Faisal,
use strict
declare your vars with my the first time you use them. But beware - you
now have much stricter scoping rules.
:-)
Rick
Faisal Karmali wrote:
>
> Is there any way to make Perl require variables to be declared? For
> example, I recently had a problem because I misspelled a variable name.
> Rather than complaining, it creates a new variable with the misspelled
> name.
>
> Thanks.
--
_______________________________________________________________
Rick Mangi Tel: (212) 972-2030
Thaumaturgix, Inc. Fax: (212) 972-2003
317 Madison Avenue, Suite 1615 rmangi@tgix.com
New York, NY 10017 http://www.tgix.com
thau'ma-tur-gy, n. the working of miracles
"Perl is a state of mind as much as it is a language grammar"
_______________________________________________________________
------------------------------
Date: Thu, 09 Apr 1998 01:33:35 GMT
From: Gellyfish@btinternet.com (Jonathan Stowe)
Subject: Re: greediness problem matching date expressions? help
Message-Id: <352c1cd3.95398518@news.btinternet.com>
On Thu, 09 Apr 1998 12:21:14 -0600, Josh England
<nagare@emrtc.nmt.edu> wrote:
<snip>
> The dates in the logfile are of the form: Tue Apr
>3 07:27:55 2018
Oh yeah - I was sceptical about that kind of format but
#!/develop/bin/perl
use Date::Parse;
use Date::Format;
print time2str("%x",str2time("Tue Apr 3 07:27:55 2018"));
__END__
/J\
Jonathan Stowe
See the MetaFaq at http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm
------------------------------
Date: Thu, 09 Apr 1998 15:25:16 -0700
From: Greg Heil <NO-SPAM-gheil@gte.net>
Subject: HELP:installing CPAN on sun4/perl5.003
Message-Id: <6gjhtd$i2e$1@gte2.gte.net>
Anyone have suggestions for installing CPAN on sun4/perl5.003?
...
Andreas J. Koenig wrote:
> greg> ftp /usr/ucb/ftp
> Make sure, this ftp works as it should.
> greg> keep_source_where /usr/local/lib/perl5/cpan/.cpan/sources
> Look inot this directory if it contains nonsense files. Try
> mv sources sources.hide
> to see which files you get next time and if they seem reasonable.
> greg> lynx /usr/local/bin/lynx
> greg> ncftp /usr/local/bin/ncftp
> Check them too.
> You can set `o debug all' and send me the output of a simple command
...and i have appended a transcript of these investigations.
Including two runs with debug all. w & w/o removing sources...
greg heil
mailto:gheil@acm.org or remove no-spam from reply-to...
http://www.scn.org/tl/anvil
--- transcript ---
perl -MCPAN -e shell
cpan shell -- CPAN exploration and modules installation (v1.36)
ReadLine support available (try ``install Bundle::CPAN'')
cpan> a ANDK
Use of uninitialized value at -e line 2139, <FIN> chunk 1.
Please, install Net::FTP as soon as possible. CPAN.pm installs it for you
if you just type
install Bundle::libnet
Please, install Net::FTP as soon as possible. CPAN.pm installs it for you
if you just type
install Bundle::libnet
Trying with "/usr/local/bin/lynx -source" to get
ftp://ftp.spu.edu/pub/CPAN/authors/01mailrc.txt.gz
gzip: /usr/local/lib/perl5/cpan/.cpan/sources/authors/01mailrc.txt: not in gzip format
Going to read /usr/local/lib/perl5/cpan/.cpan/sources/authors/01mailrc.txt.gz
Lockfile removed.
scn4[9:37am] ll /usr/local/lib/perl5/cpan/.cpan/sources/authors
total 37
1 drwxr-x--- 2 gheil 512 Apr 6 09:37 ./
1 drwxr-x--- 3 gheil 512 Apr 6 09:37 ../
24 -rw-r----- 1 gheil 23747 Apr 6 09:37 01mailrc.txt
11 -rw-r----- 1 gheil 10554 Apr 6 09:37 01mailrc.txt.gz
scn4[9:38am] /usr/ucb/ftp
ftp> by
scn4[9:38am] /usr/local/bin/lynx
Sorry, I don't know anything about your "dec-vt100" terminal.
scn4[9:38am] /usr/local/bin/ncftp
Sorry, I don't know anything about your "dec-vt100" terminal.
scn4[9:39am] perl -MCPAN -e shell
cpan shell -- CPAN exploration and modules installation (v1.36)
ReadLine support available (try ``install Bundle::CPAN'')
cpan> o debug all
Options set for debugging:
CPAN (1)
Index (2)
InfoObj (4)
Author (8)
Distribution (16)
Bundle (32)
Module (64)
CacheMgr (128)
Complete (256)
FTP (512)
Shell (1024)
Eval (2048)
Config (4096)
Tarzip (8192)
cpan> a ANDK
Debug(CPAN:-e,1,[CPAN::shell|1|0]): line[a|ANDK]
Use of uninitialized value at -e line 2139, <FIN> chunk 2.
Debug(Index:-e,2111,[CPAN::Index::reload_x|1|1]):
/usr/local/lib/perl5/cpan/.cpan/sources/authors/01mailrc.txt.gz
younger than 1 day. I'll use that.
Going to read /usr/local/lib/perl5/cpan/.cpan/sources/authors/01mailrc.txt.gz
Debug(Tarzip:-e,2169,[CPAN::Tarzip::TIEHANDLE|1|0]): file[/usr/local/lib/perl5
/cpan/.cpan/sources/authors/01mailrc.txt.gz]
Lockfile removed.
scn4[9:39am] ls /usr/local/lib/perl5/cpan/.cpan/sources
./ ../ authors/
scn4[9:41am] ls /usr/local/lib/perl5/cpan/.cpan/sources/authors
./ ../ 01mailrc.txt 01mailrc.txt.gz
scn4[9:41am] mv /usr/local/lib/perl5/cpan/.cpan/sources /usr/local/lib/perl5/cpan/.cpan/sources.hide
scn4[9:42am] mv /usr/local/lib/perl5/cpan/.cpan/sources /usr/local/lib/perl5/cpan/.cpan/souls /usr/local/lib/perl5/cpan/.cpan/sources/authors
scn4[9:42am] perl -MCPAN -e shell
cpan shell -- CPAN exploration and modules installation (v1.36)
ReadLine support available (try ``install Bundle::CPAN'')
cpan> a ANDK
Use of uninitialized value at -e line 2139, <FIN> chunk 1.
Please, install Net::FTP as soon as possible. CPAN.pm installs it for you
if you just type
install Bundle::libnet
Please, install Net::FTP as soon as possible. CPAN.pm installs it for you
if you just type
install Bundle::libnet
Trying with "/usr/local/bin/lynx -source" to get
ftp://ftp.spu.edu/pub/CPAN/authors/01mailrc.txt.gz
gzip: /usr/local/lib/perl5/cpan/.cpan/sources/authors/01mailrc.txt: not in gzip format
Going to read /usr/local/lib/perl5/cpan/.cpan/sources/authors/01mailrc.txt.gz
Lockfile removed.
scn4[9:44am] ll /usr/local/lib/perl5/cpan/.cpan/sources/authors
total 37
1 drwxr-x--- 2 gheil 512 Apr 6 09:43 ./
1 drwxr-x--- 3 gheil 512 Apr 6 09:43 ../
24 -rw-r----- 1 gheil 23747 Apr 6 09:43 01mailrc.txt
11 -rw-r----- 1 gheil 10554 Apr 6 09:43 01mailrc.txt.gz
scn4[9:50am] perl -MCPAN -e shell
cpan shell -- CPAN exploration and modules installation (v1.36)
ReadLine support available (try ``install Bundle::CPAN'')
cpan> o debug all
Options set for debugging:
CPAN (1)
Index (2)
InfoObj (4)
Author (8)
Distribution (16)
Bundle (32)
Module (64)
CacheMgr (128)
Complete (256)
FTP (512)
Shell (1024)
Eval (2048)
Config (4096)
Tarzip (8192)
cpan> a ANDK
Debug(CPAN:-e,1,[CPAN::shell|1|0]): line[a|ANDK]
Use of uninitialized value at -e line 2139, <FIN> chunk 2.
Debug(FTP:-e,2157,[CPAN::FTP::localize|1|1]): file[authors/01mailrc.txt.gz] as local[/usr/local/lib/perl5/cpan/.cpan/sources/authors/01mailrc.txt.gz] force[3]
Debug(FTP:/usr/local/lib/perl5/CPAN.pm,1713,[CPAN::FTP::hosteasy|1|0]): localizing perlish[ftp://ftp.spu.edu/pub/CPAN/authors/01mailrc.txt.gz]
Debug(FTP:/usr/local/lib/perl5/CPAN.pm,1713,[CPAN::FTP::hosteasy|1|0]): LWP not installed
Please, install Net::FTP as soon as possible. CPAN.pm installs it for you
if you just type
install Bundle::libnet
Debug(FTP:/usr/local/lib/perl5/CPAN.pm,1713,[CPAN::FTP::hosteasy|1|0]): localizing perlish[ftp://ftp.archive.de.uu.net/pub/programming/languages/perl/CPAN/authors/01mailrc.txt.gz]
Debug(FTP:/usr/local/lib/perl5/CPAN.pm,1713,[CPAN::FTP::hosteasy|1|0]): LWP not installed
Please, install Net::FTP as soon as possible. CPAN.pm installs it for you
if you just type
install Bundle::libnet
Debug(FTP:/usr/local/lib/perl5/CPAN.pm,1713,[CPAN::FTP::hosthard|1|0]): localizing funkyftpwise[ftp://ftp.spu.edu/pub/CPAN/authors/01mailrc.txt.gz]
Trying with "/usr/local/bin/lynx -source" to get
ftp://ftp.spu.edu/pub/CPAN/authors/01mailrc.txt.gz
Debug(FTP:/usr/local/lib/perl5/CPAN.pm,1713,[CPAN::FTP::hosthard|1|0]): system
[/usr/local/bin/lynx -source 'ftp://ftp.spu.edu/pub/CPAN/authors/01mailrc.txt.gz' > /usr/local/lib/perl5/cpan/.cpan/sources/authors/01mailrc.txt]
gzip: /usr/local/lib/perl5/cpan/.cpan/sources/authors/01mailrc.txt: not in gzip format
Debug(FTP:-e,2157,[CPAN::FTP::localize|1|1]): level[hard]
Going to read /usr/local/lib/perl5/cpan/.cpan/sources/authors/01mailrc.txt.gz
Debug(Tarzip:-e,2169,[CPAN::Tarzip::TIEHANDLE|1|0]): file[/usr/local/lib/perl5/cpan/.cpan/sources/authors/01mailrc.txt.gz]
Lockfile removed.
scn4[9:51am] ll /usr/local/lib/perl5/cpan/.cpan/sources/authors
total 37
1 drwxr-x--- 2 gheil 512 Apr 6 09:51 ./
1 drwxr-x--- 3 gheil 512 Apr 6 09:51 ../
24 -rw-r----- 1 gheil 23747 Apr 6 09:51 01mailrc.txt
11 -rw-r----- 1 gheil 10554 Apr 6 09:51 01mailrc.txt.gz
------------------------------
Date: Thu, 09 Apr 1998 12:44:56 GMT
From: hege-n@hsr.no (Heggie)
Subject: How to generate Passwords from Usernames in Perl ?
Message-Id: <352fc24b.11012187@news1.c2i.net>
I am trying to generate a password depending on the input on the
username. The username consists of 6-7 numbers(integers).
Let's say the Username is: ABCDEFG
How can I make an algoritm so that the password generated is
Password = 17 +83*BC ?
As I am still new at Perl, and any help is greatly appreciated, *wink*
------------------------------
Date: Thu, 9 Apr 1998 22:05:30 GMT
From: sheely@misty.ca.boeing.com (Kevin Dee Sheely)
Subject: Installing JPL toolkit on HPUX
Message-Id: <Er62p6.JBK@news.boeing.com>
Has anyone had any success in installing the JPL (java/perl)
toolkit on an HP-UX platform ? I'm running into quite a few
errors in the installation instructions.
--
-----------------------------------------------------------------------
Kevin Sheely Boeing Shared Services
P.O. Box 3707 m/s 7M-HC
Seattle, WA. 98124-2207
sheely@misty.ca.boeing.com
-----------------------------------------------------------------------
------------------------------
Date: Thu, 09 Apr 1998 22:18:59 GMT
From: Sneaker's Nest <sneaker@mediaone.net>
Subject: Re: Looking for Polling/Voting CGI/java Script
Message-Id: <352D47D0.58D6@mediaone.net>
ateika@bellsouth.net wrote:
>
> Looking for Polling/Voting CGI/java Script
>
> I am looking for a script that will enable polling but disallow users from
> voting more than once from the same PC. A cgi Script/Java/Java Script Will do.
Off topic but possible. The one problem is -
They could never turn off their PC, so in
that case, it's not possible.
Sorry,
Sneex
PS - A Hint, keep a server side record of all IP addresses which has
voted and not allow another from that IP address. Could be a problem
with data tracking in a CGI...
------------------------------
Date: Thu, 09 Apr 1998 18:57:59 -0400
From: comdog@computerdog.com (brian d foy)
Subject: Re: Looking for Polling/Voting CGI/java Script
Message-Id: <comdog-ya02408000R0904981857590001@news.panix.com>
Keywords: from just another new york perl hacker
In article <352D47D0.58D6@mediaone.net>, Sneaker's Nest <sneaker@mediaone.net> posted:
>PS - A Hint, keep a server side record of all IP addresses which has
>voted and not allow another from that IP address. Could be a problem
>with data tracking in a CGI...
sorry, but that doesn't work (as Tom Phoenix has already pointed
out).
--
brian d foy <comdog@computerdog.com>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
Comprehensive Perl Archive Network (CPAN) <URL:http://www.perl.com>
Perl Mongers <URL:http://www.pm.org>
------------------------------
Date: Thu, 09 Apr 1998 01:33:33 GMT
From: Gellyfish@btinternet.com (Jonathan Stowe)
Subject: Re: LWP that works with SLL
Message-Id: <352c19c4.94949671@news.btinternet.com>
On Wed, 08 Apr 1998 16:57:15 -0600, stvhoof@netvision.net.il wrote:
>Is there something like LWP that will work with an SLL server (https instead
>of http)?
>
You might look at the SSLeay module.
/J\
Jonathan Stowe
See the MetaFaq at http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm
------------------------------
Date: Thu, 09 Apr 1998 22:06:22 GMT
From: Sneaker's Nest <sneaker@mediaone.net>
Subject: Re: Need a web login script
Message-Id: <352D44D9.39E1@mediaone.net>
David Schwab wrote:
>
> Yes I need a weblogin script that allows people to pass a login and
> password thru a prompt and then have another way for an admin to add
> users and remove something like .Htaccess please help if you can.
> Thanks
See my post to your post in the CGI group.
Sneex :-)
------------------------------
Date: Thu, 9 Apr 1998 18:36:36 -0400
From: kpreid@ibm.net (Kevin Reid)
Subject: Re: Obfuscated Perl: figure this one out
Message-Id: <1d786ku.1aovptlipxu62N@slip-32-100-246-51.ny.us.ibm.net>
Joel Coltoff <joel@wmi9.wmi.com> wrote:
> In article <1d77nwl.wh563cczomN@slip166-72-108-50.ny.us.ibm.net>,
> Kevin Reid <kpreid@ibm.net> wrote:
> >>
> >> Looks like attemps to print out your entire diskdrive.
> >
> >When I run it, it only prints a little bit out.
>
> That could happen on some systems if the file isn't set to binmode().
I wrote and tested it on a Macintosh.
>From your comment, I would guess that the DATA filehandle is just opened
to the script file, positioned at the __DATA__ (or __END__) marker. Am I
correct?
--
Kevin Reid. | Macintosh.
"I'm me." | Think different.
------------------------------
Date: Wed, 8 Apr 1998 12:05:29 -0700
From: "Ion Chalmers Freeman" <ion@aroma.com>
Subject: Re: Perl Script on NT
Message-Id: <352bc92d.0@news.prostar.com>
Mark,
I think that the Windows Scripting Host can run as a service, if you can
convert your perl to PerlScript without much difficulty.
ion
------
Mark Kucera wrote in message ...
Is there a way to take a perl script you have written and convert/compile
it to run as a service on an NT 4.0 Server??
Please Help
mark kuera
------------------------------
Date: Thu, 09 Apr 1998 01:33:30 GMT
From: Gellyfish@btinternet.com (Jonathan Stowe)
Subject: Re: Perl.exe
Message-Id: <352c106a.92694066@news.btinternet.com>
On Thu, 09 Apr 1998 11:07:07 +0100, Tara Bennett
<TBennett@rnib.org.uk> wrote:
<snip>
>What's the problem ?
>
>
>#!/progra~1/perl/bin/perl
>
That'll be it then.
I'd suggest reinstalling your perl into a directory without a space in
the name - say /perl. You might just get away with dragging the perl
directory into the root of your partition (although I would recommend
running the install again).
This has something to do with use/require not dealing with spaces in
@INC very well. (Hey you'd probably get the same problem in unix but
Win32 positively encourages you to use paths with spaces).
/J\
Jonathan Stowe
See the MetaFaq at http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm
------------------------------
Date: Thu, 09 Apr 1998 01:59:00 GMT
From: Gellyfish@btinternet.com (Jonathan Stowe)
Subject: Re: problem with output
Message-Id: <352c26e6.97976752@news.btinternet.com>
On Thu, 09 Apr 1998 15:25:56 -0500, shane michael harwood
<sharwood@cs.uiowa.edu> wrote:
Yes Text::Wrap
/J\
Jonathan Stowe
See the MetaFaq at http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm
------------------------------
Date: Thu, 9 Apr 1998 15:11:00 -0700
From: Tom Phoenix <rootbeer@teleport.com>
To: Bert Tijhuis <B.Tijhuis@inter.nl.net>
Subject: Re: Problems with "use integer" in combination of CGI.pm
Message-Id: <Pine.GSO.3.96.980409150550.9100e-100000@user2.teleport.com>
On Thu, 9 Apr 1998, Bert Tijhuis wrote:
> In article
> <Pine.GSO.3.96.980408162829.20192b-100000@user2.teleport.com>, Tom
> Phoenix <rootbeer@teleport.com> wrote:
> >if you think you've found a bug, boil it down to a short test
> >case and post it here.
> Here is the code:
That's not boiled down! (I meant that you should cut it down to show just
the parts that were failing. :-) But congratulations, I believe you have
found a bug in Perl. (No doubt this is the last one. :-)
What follows is from the bug report I'm filing. I expect that this will be
fixed soon; for now, don't use 'use integer' in the same block where
you're calling routines using "named arguments".
Thanks!
-----------------------------------------------------------------
The common way of passing "named args" fails under 'use integer'. Since
that pragma shouldn't affect non-numeric operations, this should be
considered a bug, no? (At least it warns under -w...)
#!/usr/bin/perl -w
# use integer; # try with & without
sub test { print "Args: @_\n"; }
# "named args" being passed
test(
-name=>"fred",
-age=>42,
);
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: 8 Mar 97 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 8 Mar 97)
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.misc (and this Digest), send your
article to perl-users@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.
The Meta-FAQ, an article containing information about the FAQ, is
available by requesting "send perl-users meta-faq". The real FAQ, as it
appeared last in the newsgroup, can be retrieved with the request "send
perl-users FAQ". Due to their sizes, neither the Meta-FAQ nor the FAQ
are included in the digest.
The "mini-FAQ", which is an updated version of the Meta-FAQ, is
available by requesting "send perl-users mini-faq". It appears twice
weekly in the group, but is not distributed in the digest.
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 V8 Issue 2285
**************************************