[9125] in Perl-Users-Digest
Perl-Users Digest, Issue: 2743 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed May 27 23:07:19 1998
Date: Wed, 27 May 98 20:00:27 -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 Wed, 27 May 1998 Volume: 8 Number: 2743
Today's topics:
A Email to WWW GaTeWaY, is there such a Thing? (Igor)
attachments in FormMail <ppdesign@alpha.net.au>
Re: attachments in FormMail (Martien Verbruggen)
Re: Clearly define "free software" (Earl Hood)
Creating and Using Sockets <collier@hub.ofthe.net>
cron job via perl ?? <kyaman@earthlink.net>
Re: Email address checker - comments welcome <lr@hpl.hp.com>
Re: Email address checker - comments welcome <*@qz.to>
Re: Email address checker - comments welcome <tchrist@mox.perl.com>
Re: GNU attacks on the open software community <evan@garrett.hpl.hp.com>
Re: Listening to a modem..... (Bbirthisel)
Need Perl Expert: how to identify Perl reserved word (Yongyan Wang)
Re: Need Perl Expert: how to identify Perl reserved wor <lr@hpl.hp.com>
Re: Perl Win95 Question (Leiming Qian)
Re: Perl32 on NT <jcounts@voicenet.com>
Re: Please help with silly problem... (at)trust-me.com (Jason Oakley)
Re: press "enter" key to leave (at)trust-me.com (Jason Oakley)
Re: read and write <tchrist@mox.perl.com>
Re: Relative Newbie Question: Multiple Form Inputs Into <merlyn@stonehenge.com>
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Wed, 27 May 1998 21:21:08 -0500
From: igor@Algebra.Com (Igor)
Subject: A Email to WWW GaTeWaY, is there such a Thing?
Message-Id: <slrn6mpigk.6sl.igor@manifold.algebra.com>
If you know where I can find email-to-www gateway (a-la Hotmail) so that
I could read email from my Web Browser via HTTP, please email me.
Thanks.
----------------------------------------------------------------------------
char*p="char*p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
\=/, _-===-_-====-_-===-_-==========-_-====-_
| @___oo ( )_
/\ /\ / (___,,,}_--= )
) /^\) ^\/ _) =__ Anything is good and useful if )
) /^\/ _) (_ )
) _ / / _) ( it's made of chocolate. )
/\ )/\/ || | )_) (_ )
< > |(,,) )__) ( http://www.algebra.com/~ichudov )
|| / \)___)\ (_ _)
| \____( )___) )___ -==-_____-=====-_____-=====-___==
\______(_______;;; __;;;
------------------------------
Date: Thu, 28 May 1998 11:57:59 +1000
From: "Wayne" <ppdesign@alpha.net.au>
Subject: attachments in FormMail
Message-Id: <356cc53f.0@news.apr.net.au>
Does anyone know of a method to script a Form Mail that enables the returned
form to include a PDF as an attachment
I will be for EVER in your debt
Wayne
------------------------------
Date: 28 May 1998 02:26:31 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: attachments in FormMail
Message-Id: <6kii0n$qfn$1@comdyn.comdyn.com.au>
In article <356cc53f.0@news.apr.net.au>,
"Wayne" <ppdesign@alpha.net.au> writes:
> Does anyone know of a method to script a Form Mail that enables the returned
> form to include a PDF as an attachment
You should really try to be a bit more precise in what you say and
ask. a 'Form Mail' doesn't really have any meaning. A 'form to include
a PDF as attachment' doesn't either. I'll try to distill some meaning
from what you typed:
Do you want to send email that has a PDF file 'attached' to it, based
on some form input you get from a web page? Or do you also want people
to be able to upload files to your web server, which then get sent by
email as an attachment? For the uploading of files, you are probably
best off using the CGI.pm module that ships with perl. The
documentation that comes with it explains how.
To send email with an attachment, you could use one of the modules
from CPAN. A few that might be useful:
# perl -MCPAN -e shell
...
cpan> d /mime/
Distribution ERYQ/MIME-Lite-1.123.tar.gz
Distribution ERYQ/MIME-tools-4.119.tar.gz
Distribution GAAS/MIME-Base64-2.05.tar.gz
cpan> d /pdf/
Distribution id = ANTRO/PDF-1.05.tar.gz
CPAN_USERID ANTRO (Antonio Rosella)
cpan> d /mail/
Distribution GBARR/MailTools-1.11.tar.gz
Distribution JWIED/Mail-ispmailgate-1.000.tar.gz
Distribution KJOHNSON/MailFolder-0.07.tar.gz
Distribution MICB/MailCclient-0.2.tar.gz
You'll probably be able to find the ones you need from that list, and
the modules files at CPAN: http://www.perl.com/CPAN/modules/.
Then all you need to do is write a CGI script (possibly using CGI.pm),
that accepts input from a form. One of the parameters might be a file
upload thingy. Then you proceed to process that uploaded file, and
build a mail out of it, which you send to some address.
> I will be for EVER in your debt
Naw. This was for free. If you need more help, I can always send email
you my consultancy ratings. :)
Martien
--
Martien Verbruggen |
Webmaster www.tradingpost.com.au | Hi, Dave here, what's the root
Commercial Dynamics Pty. Ltd. | password?
NSW, Australia |
------------------------------
Date: 27 May 1998 22:44:16 GMT
From: ehood@geneva.acs.uci.edu (Earl Hood)
Subject: Re: Clearly define "free software"
Message-Id: <6ki500$76j@news.service.uci.edu>
In article <slrn6mokdp.6tn.mdw@catbert.ebi.ac.uk>,
Mark Wooding <mdw@ebi.ac.uk> wrote:
>le Fanttme <fantome/@/usa/./net> wrote:
>> And the two "best" editors that the open source community has to offer
>> are both too difficult for the average person to use, as well as the
>> fact that they don't produce formatted output without using a
>> non-WYSIWYG presentation.
>
>What on earth are you on about? Why should a text editor have anything
>at all to do with producing formatted output? It's a text editor. It
>edits text files. It's not a document formatter, or a word processor,
>or anything else like that.
Exactly. Fantome is comparing apples to oranges. Maybe he likes
to code edit in M$Word, but I'll take vi/vim since it is much more
"usable" for code (and text editing).
>> ... if they can even use Linux because it doesn't have consumer-grade
>> software available.
>
>So, what is this `consumer-grade' software you keep going on about?
>What are the criteria?
What Fantome forgets is that *we* are consumers also. I completely
aggree with your assessment that much commericial software inhibits
(insults) intelligent (or semi-intelligent) users.
[nice list of features of proprietary software deleted]
>And all in the name of `time-to-market'; all so that one
>team of idiots can push low quality software out of the door faster than
>the next. Who cares if it works or not, as long as it's out a week
>before the next company's low quality offering? Instant gratification!
>Keep the lowest common denominator happy! Cover everything with the
>stench of mediocrity!
Exactly, and I have witnessed this myself in places I have worked.
I have seen commercial code that is appalling and have been
amazed that the software even runs.
Nothing states that proprietary software developers are intrinsicly
better developers than free software developers. And from my
experience, it is actually the opposite. Free/open software developers
are people who love to do what they do and take more pride in there
work. The proprietary world is saturated with people who just want to
make a paycheck and are inadequately educated.
>> How many decision makers know about open source software and just
>> don't give a damn because no one in the open source movement to date
>> has bothered to mess with usability tests ("just learn how to do it;
>> we don't need to make it easier for you") much less a good WYSIWYG
>> interface to layout.
>
>Usability tests? I use Unix because it does what I tell it to, without
>question, without hesitation, and because I can tell it what to do
>quickly, simply, easily, by applying a few elementary concepts. That's
>usable. Not some overweight overburdened monster with pretty windows
>and pointless animations, worthless sounds and condescending messages;
>layers of windows and menus, and dialogue boxes, and tiny undecipherable
>icons which only exist as an attempt to delude the user about the way
>the system really works.
Complete agree. Just because you throw up a window and put some
whiz-bang graphics in it, it is not neccessarily more useable.
Many commercial companies do not even bother with useability tests.
And those that claim that they do, seem to not pay attention. It
seems all they bother with is the stupidest of users and design
around them.
My impression of much proprietary/commercial software is that it
actually promotes the "dumbing down" of users. I lost count of the
times I got completed frustrated with M$/Windows software when it goes
at lengths to hide stuff that it "believes" I should not know about, or
automatically performs actions cause it thought that is what I wanted
(when I really didn't). I am getting the suspicion that software is
purposely developed this way to keep users from thinking and
considering a very important question: "Is there a better way to do
this?".
--ewh
--
Earl Hood | University of California: Irvine
ehood@medusa.acs.uci.edu | Electronic Loiterer
http://www.oac.uci.edu/indiv/ehood/ | Dabbler of SGML/WWW/Perl/MIME
------------------------------
Date: Wed, 27 May 1998 21:28:48 -0500
From: Drew Wiggins <collier@hub.ofthe.net>
Subject: Creating and Using Sockets
Message-Id: <356CCBE0.90A46FB4@hub.ofthe.net>
I am attempting to write a PERL script that acts somewhat like a
spider. Rather than jumping from link to link, however, it just needs
to return the contents of a single public file on a remote web server.
My experience with sockets is limited to Windows, and I would like some
references for some in depth materials on Unix, or any advice anyone
might have.
Thanks,
-dw
------------------------------
Date: Wed, 27 May 1998 21:12:06 -0700
From: Kerem Yaman <kyaman@earthlink.net>
Subject: cron job via perl ??
Message-Id: <356CE415.4E0F9861@earthlink.net>
Total newbie to Perl here. Have programming experience will read man
pages :)))
I want to run a cron job on my Linux box to connect to the web at a
certain time every morning go to my favorite web journals and print out
some pages off these. (I will have the paper ready of course the
preivous night.)
Is it time for me to look in the "Perl in 21 days" book I bought a while
ago, or do I need CGI or ....? From what I have seen in www.perl.com I
have a feeling that some combination of these two should do the trick
but not sure where to start.
Shall I try to write a script that starts Netscape and tries to
replicate Netscape's print instructions after searching for the text I
need, or a script that directly accesses the net? (I can be the
superuser on my system if I want to.)
Where can I read up / find useful examples on this kind of stuff please.
Thanks for any help.
Kerem.
------------------------------
Date: Wed, 27 May 1998 18:22:24 -0700
From: "Larry Rosler" <lr@hpl.hp.com>
Subject: Re: Email address checker - comments welcome
Message-Id: <6kie8f$kc6@hplntx.hpl.hp.com>
[courtesy cc of this posting sent to cited author via email]
Tom Christiansen wrote in message
<6kicaj$d2q$1@csnews.cs.colorado.edu>...
> [courtesy cc of this posting sent to cited author via email]
>
>In comp.lang.perl.misc,
> "Larry Rosler" <lr@hpl.hp.com> writes:
>:assumptions about what precedes the '@' and requires a Fully Qualified
>:Domain Name (liberally defined) after the '@'. The shortest string
that
>:matches it is 'w@x.yz'. Comments welcome.
>
>My comment is that w@x.yz is not a valid mail address. :-)
>Proof follows.
>
>--tom
...
I disbelieve that you don't know the difference between syntax and
semantics. Maybe the answer lies in that smiley.
>From the original submission:
# Check the Email address for basic syntax.
# Returns 1 if valid; 0 if invalid
>From the submission I responded to, which you clipped from my response
above:
Michael J Gebis wrote in message <6ki3ou$rhv@mozo.cc.purdue.edu>...
...
>It is, of course, possible to reject things that can't possibly work.
...
Of course 'w@x.yz' doesn't work today, because there is no Top-Level
Domain with the two-letter country code 'yz'. (D'uh, I didn't know that
when I submitted it!) But some day, someone will found the nation of
Yzyzia, and 'w' will open a mail account in the subdomain 'x' and it
*will* work. Anything is possible. 'w@x.yz' *IS* a valid mail address
[syntax] without -- today -- a corresponding mail destination
[semantics].
Jeez... Maybe I should add a smiley, but I'm worn out from all my
evilness.
--
Larry Rosler
Hewlett-Packard Laboratories
lr@hpl.hp.com
------------------------------
Date: 28 May 1998 01:56:30 GMT
From: Eli the Bearded <*@qz.to>
Subject: Re: Email address checker - comments welcome
Message-Id: <eli$9805272119@qz.little-neck.ny.us>
Keywords: from just another new york perl hacker
brian d foy <comdog@computerdog.com> wrote:
> mark666769@aol.com (Mark666769) posted:
> >Submitted for your approval: yet another Email address
> >checker from the twilight zone.
I am thrilled already. Just what the world needs: more shady code.
> >Any and all comments and improvements would be most welcome.
"Abandon all hope ye who enter here." I'd quote Dante directly if I knew
enough Italian.
> ># Based on an Email checker from Matt's Script Archive,
> that's the first clue that it won't work.
It is getting close to "end of May 1998", when is the script section of
CPAN likely to reopen?
> >sub check_email {
> > my ($email) = @_;
> >
> > # Email is invalid if it contains: two @ signs or two consecutive dots;
> > # @. or .@ or it starts with a dot, or has any naughty characters.
>
> hmmm... <two..dots@domain.tld> works with sendmail8.8.8!
>
> hey ... so does <enddot.@domain.tld>!
Yes, those work, but they violate RFC822. Also a leading dot or a bare dot
is technically illegal but works fine. Kinda like how DNS software works
fine with underscores, though they are forbidden. Welcome to the funhouse.
> no naughty characters? i think Eli gets his mail just fine. perhaps
> you (not to mention the evil originator) should have looked at his
> address FAQ).
Control characters are illegal, as are highbit characters. I don't use those
addresses for much though. Nothing else is really naughty, but you may need
some backslashes.
> > return 0 if ( $email =~ /(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/ ||
> > $email =~ /[^\w\.\@\(\)\"\[\]\-<> ]+/g );
I shudder at that second RE. Obtuse, overly toothpicked, and near useless.
I fart in your general direction if you say I can't use this email address.
> everyone wants a regex for something.
Elijah
------
#!/usr/bin/perl -w
$_=q`m'something.'`;eval"$_&&print qq*\$\_ is a regex for \$ &\n*"
__END__
------------------------------
Date: 28 May 1998 01:52:22 GMT
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: Email address checker - comments welcome
Message-Id: <6kig0m$kjt$1@csnews.cs.colorado.edu>
[courtesy cc of this posting sent to cited author via email]
In comp.lang.perl.misc, "Larry Rosler" <lr@hpl.hp.com> writes:
:>My comment is that w@x.yz is not a valid mail address. :-)
:I disbelieve that you don't know the difference between syntax and
:semantics. Maybe the answer lies in that smiley.
My answers never lie. :-)
--tom
--
stab_val(stab)->str_nok = 1; /* what a wonderful hack! */
--Larry Wall in stab.c from the perl source code
------------------------------
Date: 27 May 1998 18:51:37 -0700
From: Evan Kirshenbaum <evan@garrett.hpl.hp.com>
Subject: Re: GNU attacks on the open software community
Message-Id: <v9h3edvmac6.fsf@garrett.hpl.hp.com>
jstott+usenet@poly.phys.cwru.edu (Jonathan Stott) writes:
> In article <v9hbtsjmpx8.fsf@garrett.hpl.hp.com>,
> Evan Kirshenbaum <evan@garrett.hpl.hp.com> wrote:
> >
> >That one doesn't appear to be in my dictionary (_Merriam Webster's
> >Collegiate_, 10th edition) either (out of 36 definitions), so I have
> >trouble believing that it "has been in place for centuries". For what
> >X other than "software" does "free X" mean "an X that has no
> >restrictions upon use"?
>
> Free Will?
No, that would seem to fall more in the line of definition 2a "not
determined by anything beyond its own nature or being; choosing or
capable of choosing for itself", which would seem to be inapplicable
to software. I have free will. That doesn't mean that there are no
restrictions on how I may use it. It certainly doesn't mean that
there are no restrictions on how others may use it.
--
Evan Kirshenbaum +------------------------------------
HP Laboratories |Sometimes I think the surest sign
1501 Page Mill Road, Building 1U |that intelligent life exists
Palo Alto, CA 94304 |elsewhere in the universe is that
|none of it has tried to contact us.
kirshenbaum@hpl.hp.com | Calvin
(650)857-7572
http://www.hpl.hp.com/personal/Evan_Kirshenbaum/
------------------------------
Date: 28 May 1998 01:21:04 GMT
From: bbirthisel@aol.com (Bbirthisel)
Subject: Re: Listening to a modem.....
Message-Id: <1998052801210400.VAA22543@ladder03.news.aol.com>
Hi Tom:
>In comp.lang.perl.misc,
> Derek Tattersall <tatters@planet.net> writes:
>:Actually, no I haven't. I am not the original poster, but I have a similar
>:problem. I want to use
>:the serial port, and I haven't been able to figure out how to set the serial
>:port parameters. I was looking at the faq, and I didn't see anything about
>:serial port programming. How do you do it?
>
>Just open the file. You'll use the same ioctls as with C.
Except the original poster was on Win32. Doesn't have access to the ioctls.
Doesn't have "stty". On a good day can get access to a limited subset if the
functionality with "system("mode COM2.......etc.) - which can be made to work
on NT, but not Win95.
I will certainly study your demo program. I am working on a module to address
the Win32 serial port limitations - and I frequently benefit from studying your
examples.
Thanks,
-bill
Making computers work in Manufacturing for over 25 years (inquiries welcome)
------------------------------
Date: 28 May 1998 00:20:46 GMT
From: ywang@emma.plaza.ds.adp.com (Yongyan Wang)
Subject: Need Perl Expert: how to identify Perl reserved word
Message-Id: <6kiaku$rcl@myst.plaza.ds.adp.com>
I need to develop a subroutine that determine whether a string contains a perl-reserved-word. Suppose the subroutine is called "sub IsKey { ... }". Its retrun value is either "non-key word" or "key-word".
#!/usr/local/bin/perl
$str="abc"
$return_value= &IsKey($str);
print "$str is a $return_value word\n"; # abc is a non-key word
$str="log"
$return_value= &IsKey($str);
print "$str is a $return_value word\n"; # log is a key word
sub IsKey {
# .... What should I put here?
return "non-key";
# .... What should I put here?
return "key";
}
Thanks in advance.
Yongyan
------------------------------
Date: Wed, 27 May 1998 18:32:36 -0700
From: "Larry Rosler" <lr@hpl.hp.com>
Subject: Re: Need Perl Expert: how to identify Perl reserved word
Message-Id: <6kiere$khs@hplntx.hpl.hp.com>
Yongyan Wang wrote in message <6kiaku$rcl@myst.plaza.ds.adp.com>...
>I need to develop a subroutine that determine whether a string contains
a perl-reserved-word. Suppose the subroutine is called "sub IsKey
{ ... }". Its retrun value is either "non-key word" or "key-word".
...
Search DejaNews http://www.dejanews.com for '~g comp.lang.perl.misc ~s
reserved' and you will find references to the files keywords.pl and
keywords.h .
For some reason, I couldn't find them in the current archive, even
though there is a relatively recent thread about this. But there are 14
references in the old archive.
--
Larry Rosler
Hewlett-Packard Laboratories
lr@hpl.hp.com
------------------------------
Date: 28 May 1998 01:22:59 GMT
From: lqian@adhara.csl.uiuc.edu (Leiming Qian)
Subject: Re: Perl Win95 Question
Message-Id: <slrn6mpevh.hbh.lqian@adhara.csl.uiuc.edu>
On Wed, 27 May 1998 20:49:45 GMT, Jeff Henry <jdhenry.NOSPAM@ismi.net> wrote:
>Yes, the shell supplied with Win95 is broken. I'm using 4DOS from JP
>Software as a replacement (www.jpsoft.com). 4DOS allows "executable
>extensions", so I can, in my autoexec.bat, put:
>
>set .pl=d:\perl\bin\perl.exe
>
>Then i can run foo.pl from anywhere in my path simply by typing:
Wow, I have been using 4DOS for a long time but I never found out this
functionality, so I didn't have to hack my registry...thanks a lot!
yours
Leiming
--
Leiming Qian: lqian@uiuc.edu | Second Year Research Assistant
Digital Signal Processing Group | Under Professor Douglas. L. Jones
University of Illinois, Urbana-Champaign | VIM lover, Webmania, PC expert!
-----------------------------------------------------------------------------
If you think that education is expensive, you ought to try ignorance.
-----------------------------------------------------------------------------
------------------------------
Date: Wed, 27 May 1998 20:26:33 -0400
From: "John Counts" <jcounts@voicenet.com>
Subject: Re: Perl32 on NT
Message-Id: <356cbdfb.0@news.snip.net>
I don't think it matters what directory you put Perl in, but you need to
keep the tree intact. i.e you should have \lib and \bin directories
underneath the top Perl directory.
To run perl scripts without specifying a path you neet to add \perl\bin to
the system path in the system icon in the control panel. Then you can just
type perl and the filename and they should run.
If you want to run CGI scripts under IIS you don't need to incude anything
in the way of a path to the perl interpreter. If you're using Apache you do
need to include this the same way you do in Unix.
Good luck
kzhu@tstc.edu wrote in message <6khjv0$r0c$1@nnrp1.dejanews.com>...
>Dear sir,
>
>I am running NT4 server on a PC, and I need Perl for it. I don't have C
>compiler on NT. So, I download binary Perl32 called WP32i316.exe from
>www.activestate.com, and run this exe file. Is that all I need to do ?
What
>directory should I put Perl32 in? My web documents are all stored in
>\InetPub\Mywebsite. In InetPut directory, I created Perl32 directory
>and all perl stuff is here.
------------------------------
Date: Thu, 28 May 1998 02:01:51 GMT
From: waulok(at)trust-me.com (Jason Oakley)
Subject: Re: Please help with silly problem...
Message-Id: <356cc56f.11523598@news.comcen.com.au>
On Wed, 27 May 1998 09:54:15 +0000, tim@calabama.com wrote:
>Hello I am new to perl.
>
>When I call this script from the command line a file is creatd if it
>does not already exist. It also seems to append an existing file.
>
>
>If I call the script from a browser , it does not respond the same way.
>a file is NOT creatd if it does not exist already . It also seems to NOT
>append an existing file.
>
>dir permission chmod 750
>file permission chmod 750
>
>Can anyone help me?
>
Probably the web server doesn't have permission to write to that
directory/file.
------------------------------
Date: Thu, 28 May 1998 00:56:47 GMT
From: waulok(at)trust-me.com (Jason Oakley)
Subject: Re: press "enter" key to leave
Message-Id: <356cb40b.7071039@news.comcen.com.au>
On Tue, 26 May 1998 10:17:13 -0400, "Johnson Chen ( C. H. Chen)A"
<chia_ch@alcor.concordia.ca> wrote:
>How can I make users to leave this following program if user press only
>enter key ?
>
><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>
>#!/local/paths/perl -w #indicat the path
>use strict; #delaim all vriables
>my %name_hash; my $name;
>my @name; my @name_sort_keys;
>my $name_input=" "; my $sum=0;
>my @name_request; my $test_name;
>
>
>%name_hash= qw(
>Johnson johnson.gif Elsa elsa.gif Anny anny.gif
>); #the name list for database
>@name= keys (%name_hash); #give keys to @name
>@name_sort_keys= sort @name; #sorting all names
> #lowercase in databse
>
>print "---------------------------------------------------------------\n";
>print "\t@name_sort_keys\n"; #print the sorted names
>print "---------------------------------------------------------------\n";
>
>NAMEENTER: while (1) {
> print "\tEnter the name to see the gif file ...";
> chomp ($name_input=<>);
Try adding
exit if (!$name_input);
here
------------------------------
Date: 28 May 1998 00:51:18 GMT
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: read and write
Message-Id: <6kice6$d2q$2@csnews.cs.colorado.edu>
[courtesy cc of this posting sent to cited author via email]
In comp.lang.perl.misc,
"tw96" <tw96@email.msn.com> writes:
:i met a problem.
: open(FILE,"+>".filename);
: $a = <FILE>;
I've seen obvious ways of setting $a to undef, but this
isn't one of them.
perlfaq5. Question 2.
--tom
--
You are the sponsor for the account andrew (Andrew Hume).
------------------------------
Date: Thu, 28 May 1998 02:08:28 GMT
From: Randal Schwartz <merlyn@stonehenge.com>
Subject: Re: Relative Newbie Question: Multiple Form Inputs Into a List Array
Message-Id: <8cg1hv87vt.fsf@gadget.cscaper.com>
>>>>> "Dan" == Dan Boorstein <danboo@negia.net> writes:
>> Actually, in the camel book (2nd ed.), starting on page 265, there are
>> sections on "Arrays of Arrays," "Arrays of Hashes," etc. Of course,
>> it is explained in the text that these are really arrays and hashes of
>> references, but the authors apparently feel that for ease of
>> communication, it's ok to consider that implied.
Dan> read the list of camel authors again, and then refer to the 'From:'
Dan> field in the post to which you responded. you may notice something
Dan> interesting. (or maybe you already did, and this was a joke.)
You also note that there were multiple names on the front cover. We
do not speak with one mind. (Quite the opposite, much of the time.
In fact, two of the three front cover names agree quite readily
frequently, while the third name was present only on the second
edition. :-)
print "Just another Perl hacker," # but not what the media calls "hacker!" :-)
## legal fund: $20,990.69 collected, $186,159.85 spent; just 96 more days
## before I go to *prison* for 90 days; email fund@stonehenge.com for details
--
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@teleport.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me
------------------------------
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 2743
**************************************