[12617] in Perl-Users-Digest
Perl-Users Digest, Issue: 26 Volume: 9
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Jul 6 21:17:10 1999
Date: Tue, 6 Jul 1999 18:06:46 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Tue, 6 Jul 1999 Volume: 9 Number: 26
Today's topics:
End of file characters?? <magoo10@prodigy.net>
Re: End of file characters?? (I R A Aggie)
Re: End of file characters?? <magoo10@prodigy.net>
Re: End of file characters?? <gellyfish@gellyfish.com>
Re: End of file characters?? <magoo10@prodigy.net>
Re: End of file characters?? (elephant)
Error Logs <bds6@psu.edu>
Re: Error Logs (John D Groenveld)
Error with mod_perl: Can't locate loadable object for m <olast@dagbladet.no>
Re: Error with mod_perl: Can't locate loadable object f (elephant)
Re: Error with mod_perl: Can't locate loadable object f <olast@dagbladet.no>
error: Odd number of elements in hash list... (Fulko van Westrenen)
Re: error: Odd number of elements in hash list... (elephant)
Re: error: Odd number of elements in hash list... (Abigail)
Re: error: Odd number of elements in hash list... (Ronald J Kimball)
Espacio Web GRATIS, correo GRATIS, Buscador Personal GR <bansai@teleline.es>
Re: Examples on using DBM for extracting user/fulename <elaine@wustl.edu>
Re: FAQ 4.36: Why don't my E<lt>E<lt>HERE documents wor <cassell@mail.cor.epa.gov>
Re: FAQ 4.54: What happens if I add or remove keys from (Dan Wilga)
Digest Administrivia (Last modified: 1 Jul 99) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sun, 4 Jul 1999 23:13:58 -0000
From: "MacInnes" <magoo10@prodigy.net>
Subject: End of file characters??
Message-Id: <7lp7nu$1nio$1@newssvr04-int.news.prodigy.com>
Hey guys,
I just picked up Learning Perl and everything was going great till I got
to the chapter three excercises.Neither CTRL+D nor CTRL+Z seem to work for
an end of file chracter when using <STDIN> for an Array. Im running '95
using ActivePerl 518. Ctrl D just adds a little diamond to my screen and
CTRL Z just terminates the program completly. Here is the exact code I am
using, in case it is just my code.. which is completly possible =) .
--------------------------------------------------------------------
print "Write as many words as you like so we can reverse it for you:\n";
@array = <STDIN>;
@array = reverse @array;
print @array;
--------------------------------------------------------------------
Any help would be greatly appreciated!
Jason MacInnes
Perl Novice Extradonaire!
------------------------------
Date: 5 Jul 1999 13:22:21 GMT
From: fl_aggie@thepentagon.com (I R A Aggie)
Subject: Re: End of file characters??
Message-Id: <slrn7o1cgo.tac.fl_aggie@thepentagon.com>
On Sun, 4 Jul 1999 23:13:58 -0000, MacInnes <magoo10@prodigy.net>, in
<7lp7nu$1nio$1@newssvr04-int.news.prodigy.com> wrote:
+ using ActivePerl 518. Ctrl D just adds a little diamond to my screen and
+ CTRL Z just terminates the program completly.
This is expected behaviour...once your program has no more input,
it finishes and writes stuff to STDOUT, usually your terminal...
James
------------------------------
Date: Mon, 5 Jul 1999 09:50:29 -0000
From: "MacInnes" <magoo10@prodigy.net>
Subject: Re: End of file characters??
Message-Id: <7lqd1b$5ec8$1@newssvr04-int.news.prodigy.com>
Im not exactly sure what your saying.... what I want to know is on Win 95
what do I hit so the program stops asking for input into an array. Nothing
seems to work!
Jason
I R A Aggie <fl_aggie@thepentagon.com> wrote in message
news:slrn7o1cgo.tac.fl_aggie@thepentagon.com...
> On Sun, 4 Jul 1999 23:13:58 -0000, MacInnes <magoo10@prodigy.net>, in
> <7lp7nu$1nio$1@newssvr04-int.news.prodigy.com> wrote:
>
> + using ActivePerl 518. Ctrl D just adds a little diamond to my screen and
> + CTRL Z just terminates the program completly.
>
> This is expected behaviour...once your program has no more input,
> it finishes and writes stuff to STDOUT, usually your terminal...
>
> James
------------------------------
Date: 5 Jul 1999 15:36:09 +0100
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: End of file characters??
Message-Id: <3780c2d9@newsread3.dircon.co.uk>
[ I have fixed the order of your quoting - please do it before you post
next time ]
MacInnes <magoo10@prodigy.net> wrote:
> I R A Aggie <fl_aggie@thepentagon.com> wrote in message
> news:slrn7o1cgo.tac.fl_aggie@thepentagon.com...
>> On Sun, 4 Jul 1999 23:13:58 -0000, MacInnes <magoo10@prodigy.net>, in
>> <7lp7nu$1nio$1@newssvr04-int.news.prodigy.com> wrote:
>>
>> + using ActivePerl 518. Ctrl D just adds a little diamond to my screen and
>> + CTRL Z just terminates the program completly.
>>
>> This is expected behaviour...once your program has no more input,
>> it finishes and writes stuff to STDOUT, usually your terminal...
>>
> Im not exactly sure what your saying.... what I want to know is on Win 95
> what do I hit so the program stops asking for input into an array. Nothing
> seems to work!
>
Hey I'm not exactly sure what you are having difficulty with - you type in
a bunch of words then <ENTER> then Ctrl and Z simultaneously.
It works for me ...
C:\WINDOWS>perl test.pl
Write as many words as you like so we can reverse it for you:
this
is
a
test
a
is
this
/J\
--
"As usual I'm the price you have to pay for the funny bits" - Denis Norden
------------------------------
Date: Mon, 5 Jul 1999 11:02:03 -0000
From: "MacInnes" <magoo10@prodigy.net>
Subject: Re: End of file characters??
Message-Id: <7lqh7h$qe2$1@newssvr03-int.news.prodigy.com>
Jonathan Stowe <gellyfish@gellyfish.com> wrote in message
news:3780c2d9@newsread3.dircon.co.uk...
> [ I have fixed the order of your quoting - please do it before you post
> next time ]
>
> MacInnes <magoo10@prodigy.net> wrote:
> > I R A Aggie <fl_aggie@thepentagon.com> wrote in message
> > news:slrn7o1cgo.tac.fl_aggie@thepentagon.com...
> >> On Sun, 4 Jul 1999 23:13:58 -0000, MacInnes <magoo10@prodigy.net>, in
> >> <7lp7nu$1nio$1@newssvr04-int.news.prodigy.com> wrote:
> >>
> >> + using ActivePerl 518. Ctrl D just adds a little diamond to my screen
and
> >> + CTRL Z just terminates the program completly.
> >>
> >> This is expected behaviour...once your program has no more input,
> >> it finishes and writes stuff to STDOUT, usually your terminal...
> >>
>
> > Im not exactly sure what your saying.... what I want to know is on Win
95
> > what do I hit so the program stops asking for input into an array.
Nothing
> > seems to work!
> >
>
> Hey I'm not exactly sure what you are having difficulty with - you type in
> a bunch of words then <ENTER> then Ctrl and Z simultaneously.
>
> It works for me ...
>
> C:\WINDOWS>perl test.pl
> Write as many words as you like so we can reverse it for you:
> this
> is
> a
> test
> a
> is
> this
>
> /J\
> --
> "As usual I'm the price you have to pay for the funny bits" - Denis Norden
Thank You a bunch! I was putting all the info on the same line and the
computer didnt like that!
Jason
------------------------------
Date: Tue, 6 Jul 1999 01:25:42 +1000
From: e-lephant@b-igpond.com (elephant)
Subject: Re: End of file characters??
Message-Id: <MPG.11eb7984b611fc32989af2@news-server>
Jonathan Stowe writes ..
>>> On Sun, 4 Jul 1999 23:13:58 -0000, MacInnes <magoo10@prodigy.net>, in
>>> <7lp7nu$1nio$1@newssvr04-int.news.prodigy.com> wrote:
>>>
>>> + using ActivePerl 518. Ctrl D just adds a little diamond to my screen and
>>> + CTRL Z just terminates the program completly.
>
>Hey I'm not exactly sure what you are having difficulty with - you type in
>a bunch of words then <ENTER> then Ctrl and Z simultaneously.
just to add to this .. Jason .. when you hit Ctrl+Z and then the <Enter>
key you should see the program do exactly what you asked it to .. ie. it
will stop receiving input and it will reverse that input and it will
print the result to the screen .. and then (as your code instructs) your
program will end
if you tell it not to end then it will continue after it has printed this
out .. eg. adjust your code to be like this
#--begin
print "Write as many words as you like so we can reverse it for you:\n";
@array = <STDIN>;
@array = reverse @array;
print @array;
print "\nGimme some more input - I wont reverse it this time:\n";
@array = <STDIN>;
print @array;
#--end
you will see that Ctrl+Z doesn't end your program .. just that input ..
but in your first program this was all there was .. now you should see
(note the ^Zs (Ctrl+Z) may not print out in Win98 .. this was done in NT)
C:\>test.pl
Write as many words as you like so we can reverse it for you:
a
b
c
d
^Z
d
c
b
a
Gimme some more input - I wont reverse it this time:
q
r
s
^Z
q
r
s
C:\>
--
jason - remove all hyphens for email reply -
------------------------------
Date: Tue, 06 Jul 1999 14:45:35 -0400
From: Brian Shook <bds6@psu.edu>
Subject: Error Logs
Message-Id: <37824ECF.A7B0C9A6@psu.edu>
I'm writing a script that automates the uploading of data into a db2
database. However I would like all errors and exceptions to be written
to a file which can later be viewed. Is there anyway to do this. All
comments and suggestions are welcome.
------------------------------
Date: 6 Jul 1999 16:35:16 -0400
From: groenvel@cse.psu.edu (John D Groenveld)
Subject: Re: Error Logs
Message-Id: <7ltpa4$b6v$1@grolsch.cse.psu.edu>
#!/usr/bin/perl -w
use strict;
use FileHandle;
use DBI;
open STDERR, ">/tmp/foo";
autoflush STDERR 1;
my $dbh = DBI->connect("dbi:DB2:db_name", $user, $pass, {PrintError=>1});
------------------------------
Date: Mon, 05 Jul 1999 16:59:20 +0200
From: Ola =?iso-8859-1?Q?Str=F8mman?= <olast@dagbladet.no>
Subject: Error with mod_perl: Can't locate loadable object for module ...
Message-Id: <3780C848.D56CC693@dagbladet.no>
When accessing the path width a browser specified in httpd.conf I fill
the serverlog with for me cryptic messages:
"Can't locate loadable object for module Apache::URI in @INC "
The following code/information is what I know that could be wrong, but
it all seems okay.
If anyone have a clue, please let me know...
Ola Stroemman
Oslo, Norway
:::::::::::::::::::::::
MyModule.pm:
package MyModule;
use strict;
use Tie::DBI ();
use CGI::Cookie ();
use MD5 ();
use LWP::Simple ();
use Apache::File (); #trying to remove this line gives the same error
on the next line "...loadable object for module Apache::URI..."
use Apache::URI ();
#.... etc
./httpd -l
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_info.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_rewrite.c
mod_access.c
mod_auth.c
mod_unique_id.c
mod_setenvif.c
mod_perl.c
httpd.conf:
<Location /protected>
PerlAccessHandler Mymodule
</Location>
Error.log:
[Mon Jul 5 16:30:55 1999] [notice] Apache/1.3.6 (Unix) mod_perl/1.20
configured -- resuming normal operations
[Mon Jul 5 16:32:04 1999] [error] Can't locate loadable object for
module Apache::URI in @INC (@INC contains:
/opt/perl5/lib/5.00502/sun4-solaris /opt/perl5/lib/5.00502
/opt/perl5/lib/site_perl/5.005/sun4-solaris
/opt/perl5/lib/site_perl/5.005 . /local/apache/1.3.6.mod_perl/
/local/apache/1.3.6.mod_perl/lib/perl) at
/opt/perl5/lib/site_perl/5.005/sun4-solaris/mod_perl.pm line 14
BEGIN failed--compilation aborted at
/opt/perl5/lib/site_perl/5.005/sun4-solaris/Apache/MyModule.pm
------------------------------
Date: Tue, 6 Jul 1999 01:38:03 +1000
From: e-lephant@b-igpond.com (elephant)
Subject: Re: Error with mod_perl: Can't locate loadable object for module ...
Message-Id: <MPG.11eb7c623f35151e989af3@news-server>
Ola =?iso-8859-1?Q?Str=F8mman?= writes ..
>When accessing the path width a browser specified in httpd.conf I fill
>the serverlog with for me cryptic messages:
>"Can't locate loadable object for module Apache::URI in @INC "
it means that the files that contain the code for the Apache::URI module
cannot be found in the path that they're looking .. this @INC path was
set during the compilation of your version of perl
you can add additional libraries with the PERL5LIB variable (check that
out in the perlrun section of the manual - man perlrun from the UNIX
command line)
I think you have to have the Apache modules installed before installing
mod_perl .. but if you don't then it's possible that you don't actually
have the modules there .. you should check that too (if all else fails
then a find / -name URI.pm should find it if it's there .. of course it'd
be better to refine that '/' as much as possible)
by default the Apache stuff is installed under the site_perl directory ..
which is in your @INC listing in your error log messages .. so I'd guess
that your Apache modules are installed somewhere else - or not at all
--
jason - remove all hyphens for email reply -
------------------------------
Date: Tue, 06 Jul 1999 08:31:56 +0200
From: Ola =?iso-8859-1?Q?Str=F8mman?= <olast@dagbladet.no>
Subject: Re: Error with mod_perl: Can't locate loadable object for module ...
Message-Id: <3781A2DC.90A602B5@dagbladet.no>
Good try, but I forgot to tell:
/opt/perl5/lib/site_perl/5.005/sun4-solaris in @INC contains Apache and
the underlaying 'missing' packages.
My mistake...
Ola St
elephant wrote:
>
> Ola =?iso-8859-1?Q?Str=F8mman?= writes ..
> >When accessing the path width a browser specified in httpd.conf I fill
> >the serverlog with for me cryptic messages:
> >"Can't locate loadable object for module Apache::URI in @INC "
>
> it means that the files that contain the code for the Apache::URI module
> cannot be found in the path that they're looking .. this @INC path was
> set during the compilation of your version of perl
>
> you can add additional libraries with the PERL5LIB variable (check that
> out in the perlrun section of the manual - man perlrun from the UNIX
> command line)
>
> I think you have to have the Apache modules installed before installing
> mod_perl .. but if you don't then it's possible that you don't actually
> have the modules there .. you should check that too (if all else fails
> then a find / -name URI.pm should find it if it's there .. of course it'd
> be better to refine that '/' as much as possible)
>
> by default the Apache stuff is installed under the site_perl directory ..
> which is in your @INC listing in your error log messages .. so I'd guess
> that your Apache modules are installed somewhere else - or not at all
>
> --
> jason - remove all hyphens for email reply -
------------------------------
Date: 5 Jul 1999 18:06:36 GMT
From: fulko@trane.wtm.tudelft.nl (Fulko van Westrenen)
Subject: error: Odd number of elements in hash list...
Message-Id: <slrn7o1t1c.23m.fulko@trane.wtm.tudelft.nl>
Hello,
I have a CGI-script that produces an error:
Odd number of elements in hash list at /home/fulko/public_html/foongrep3.cgi
line 365, <FOONGREP> chunk 2456.
Use of uninitialized value at (eval 5) line 9, <FOONGREP> chunk 2456.
Can someone help me what this can mean?
The odd number is funny because I have no idea how this can be made
(they always come in pairs, don't they?):
my %Rubriek = ('f'=>'fax', 'x'=>'telex', 'g'=>'gratis',
't'=>'', 'p'=>'', 'm'=>'gsm' );
The line that produces the error:
foreach (keys %Rubriek) { $RUB = $Rubriek{$_} if $RUB eq $_; }
Thanks for any help.
Fulko
--
Fulko van Westrenen
email: F.C.v.Westrenen@tue.nl
------------------------------
Date: Tue, 6 Jul 1999 04:57:11 +1000
From: e-lephant@b-igpond.com (elephant)
Subject: Re: error: Odd number of elements in hash list...
Message-Id: <MPG.11ebab11cff31f5d989af6@news-server>
Fulko van Westrenen writes ..
>I have a CGI-script that produces an error:
>Odd number of elements in hash list at /home/fulko/public_html/foongrep3.cgi
> line 365, <FOONGREP> chunk 2456.
>Use of uninitialized value at (eval 5) line 9, <FOONGREP> chunk 2456.
you're reading your hash in from a filehandle .. something is awry in
that file so that there are not values for every key .. print some values
out to debug it .. the stick a print inside your foreach loop to see the
value of each key as it goes through .. you will quickly see where they
get out of synch
--
jason - remove all hyphens for email reply -
------------------------------
Date: 5 Jul 1999 15:14:46 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: error: Odd number of elements in hash list...
Message-Id: <slrn7o24h2.h6v.abigail@alexandra.delanet.com>
Fulko van Westrenen (fulko@trane.wtm.tudelft.nl) wrote on MMCXXXIV
September MCMXCIII in <URL:news:slrn7o1t1c.23m.fulko@trane.wtm.tudelft.nl>:
::
:: Odd number of elements in hash list at /home/fulko/public_html/foongrep3.cgi
:: line 365, <FOONGREP> chunk 2456.
You miss a semicolon on line 364.
Abigail
--
perl -MTime::JulianDay -lwe'@r=reverse(M=>(0)x99=>CM=>(0)x399=>D=>(0)x99=>CD=>(
0)x299=>C=>(0)x9=>XC=>(0)x39=>L=>(0)x9=>XL=>(0)x29=>X=>IX=>0=>0=>0=>V=>IV=>0=>0
=>I=>$r=-2449231+gm_julian_day+time);do{until($r<$#r){$_.=$r[$#r];$r-=$#r}for(;
!$r[--$#r];){}}while$r;$,="\x20";print+$_=>September=>MCMXCIII=>()'
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
------------------------------
Date: Mon, 5 Jul 1999 21:20:09 -0400
From: rjk@linguist.dartmouth.edu (Ronald J Kimball)
Subject: Re: error: Odd number of elements in hash list...
Message-Id: <1duhhjz.1n6u6hew1b2f6N@p21.block2.tc2.state.ma.tiac.com>
elephant <e-lephant@b-igpond.com> wrote:
> Fulko van Westrenen writes ..
> >I have a CGI-script that produces an error:
> >Odd number of elements in hash list at /home/fulko/public_html/foongrep3.cgi
> > line 365, <FOONGREP> chunk 2456.
> >Use of uninitialized value at (eval 5) line 9, <FOONGREP> chunk 2456.
>
> you're reading your hash in from a filehandle ..
How did you manage to jump to that conclusion? All Perl error messages
contain these input-related comments if the script has performed any
input, even when the error is not specifically related to the input.
--
_ / ' _ / - aka -
( /)//)//)(//)/( Ronald J Kimball rjk@linguist.dartmouth.edu
/ http://www.tiac.net/users/chipmunk/
"It's funny 'cause it's true ... and vice versa."
------------------------------
Date: Sat, 3 Jul 1999 17:05:14 +0200
From: "Bosco Rivera" <bansai@teleline.es>
Subject: Espacio Web GRATIS, correo GRATIS, Buscador Personal GRATIS..... Apto para gorrones
Message-Id: <7lqd13$kg1@telerad.teleline.es>
This is a multi-part message in MIME format.
------=_NextPart_000_0080_01BEC576.37D26260
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
ILLLOOORR, =BFquieres un espacio en Internet?, Cuentas de correo =
ilimitadas...Libro de visitas.... TODOOO!!!, no te lo pienses m=E1s
P I N C H =
A AQUI =F3
http://mail.telepolis.com/cgi-bin/alta_form?origen=3Djamping2@telepolis.c=
om
Por cierto..... CRAZZZ...ZZZ..., =BFte gutaria ver unas fotos =
interesantes sobre CLAUDIA SCHIFFER =F3 CINDY CRAUFFORT....!
http://bansai.webjump.com - http://bansai.to.w3.to=20
CRAZZZ 2: Gana grandes premios ganando sitio gratis en =
internet en: http://bansai.webjump.com/webmaster.redac
Salu2, =BFtienes dudas?, bansai.to@w3.to
------=_NextPart_000_0080_01BEC576.37D26260
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana><STRONG>ILLLOOORR, </STRONG>=BFquieres un =
espacio en=20
Internet?, Cuentas de correo ilimitadas...Libro de visitas.... =
TODOOO!!!, no te=20
lo pienses m=E1s</FONT></DIV>
<DIV> </DIV>
<DIV><FONT=20
face=3DVerdana> &nbs=
p; =20
<A=20
href=3D"http://mail.telepolis.com/cgi-bin/alta_form?origen=3Djamping2@tel=
epolis.com">P =20
I =20
N =20
C =20
H =20
A AQUI</A> <FONT=20
color=3D#008080>=F3</FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DVerdana><A=20
href=3D"http://mail.telepolis.com/cgi-bin/alta_form?origen=3Djamping2@tel=
epolis.com">http://mail.telepolis.com/cgi-bin/alta_form?origen=3Djamping2=
@telepolis.com</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Por cierto..... CRAZZZ...ZZZ..., =BFte gutaria ver =
unas fotos=20
interesantes sobre CLAUDIA SCHIFFER =F3 CINDY =
CRAUFFORT....!</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2><A=20
href=3D"http://bansai.webjump.com">http://bansai.webjump.com</A> - <A=20
href=3D"http://bansai.to.w3.to">http://bansai.to.w3.to</A> </FONT></DIV>
<DIV> </DIV>
<DIV><FONT=20
size=3D2> &nbs=
p; =20
CRAZZZ 2: Gana grandes premios ganando sitio gratis en internet en: <A=20
href=3D"http://bansai.webjump.com/webmaster.redac">http://bansai.webjump.=
com/webmaster.redac</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Salu2, =BFtienes dudas?, <A=20
href=3D"mailto:bansai.to@w3.to">bansai.to@w3.to</A></FONT></DIV></BODY></=
HTML>
------=_NextPart_000_0080_01BEC576.37D26260--
------------------------------
Date: Sat, 3 Jul 1999 20:04:31 -0500
From: elaine ashton <elaine@wustl.edu>
Subject: Re: Examples on using DBM for extracting user/fulename from passwd file
Message-Id: <Pine.GSO.4.05.9907032001320.454-100000@chaos.wustl.edu>
> Has anyone got an example, say, of extracting data from the password
> file on UNIX boxes (FBSD) to gain user ID and full name details etc...
Perl comes with a fine set of documentation as well as it being on-line at
perl.com.
http://language.perl.com/newdocs/pod/perlfunc/getpwnam.html
or
'perldoc -f getpwnam' on your commandline.
e.
--
-=]) elaine ashton // elaine@chaos.wustl.edu // HFB ([=-
-=]) A dismal wasteland of banality, cliche' and casual obscenity ([=-
------------------------------
Date: Sat, 03 Jul 1999 14:29:17 -0700
From: David Cassell <cassell@mail.cor.epa.gov>
To: Tom and Gnat <perlfaq-suggestions@perl.com>
Subject: Re: FAQ 4.36: Why don't my E<lt>E<lt>HERE documents work?
Message-Id: <377E80AD.CDC24D43@mail.cor.epa.gov>
[cc mailed to perlfaq-suggestions]
Tom Christiansen wrote:
> [snip]
> Why don't my <<HERE documents work?
>
> Check for these three things:
s/three/four/
> 1. There must be no space after the << part.
> 2. There (probably) should be a semicolon at the end.
> 3. You can't (easily) have any space in front of the tag.
4. On win32 systems, you should make sure that the closing
tag is not on the last line of the program - if so, add
a hard return so there is a blank line below.
> [big snip]
David
--
David Cassell, OAO cassell@mail.cor.epa.gov
Senior computing specialist
mathematical statistician
------------------------------
Date: Tue, 06 Jul 1999 13:04:09 -0400
From: dwilgaREMOVE@mtholyoke.edu (Dan Wilga)
Subject: Re: FAQ 4.54: What happens if I add or remove keys from a hash while iterating over it?
Message-Id: <dwilgaREMOVE-0607991304090001@wilga.mtholyoke.edu>
> Either treasure up your changes and make them after the iterator
> finishes, or use keys to fetch all the old keys at once, and
> iterate over the list of keys.
I find this sentence a little difficult to read without any emphasis on
the function name. You might want to rephrase it:
...or use the keys function to fetch all the old keys at once, and
iterate over the list of keys.
Dan Wilga dwilgaREMOVE@mtholyoke.edu
** Remove the REMOVE in my address address to reply reply **
------------------------------
Date: 1 Jul 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 1 Jul 99)
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 V9 Issue 26
************************************