I am sure Jeff has a bunch of files lying around named: >haha |-what? and good old
`rm -rf *` I put that last one in my home directory just to scare the beejesus off the sysadmin guys. If you want to make it just use: touch '`rm -rf *`' > -----Original Message----- > From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 03, 2002 1:38 PM > To: bob ackerman > Cc: [EMAIL PROTECTED] > Subject: Re: Conditional Operator && STDIN > > > On Jun 3, bob ackerman said: > > >> @ARGV = "< $filename" if $opt_f; > > > >why '<' ? isn't '$filename' enough for get '<>' to open and > read from that > >file? > > I feel safer when I explicitly state the mode. Unless you > want the user > to put 'foo |' as the filename (that is, the output of a > pipe), then you > should use the file mode in your program explicitly. > > -- > Jeff "japhy" Pinyan [EMAIL PROTECTED] > http://www.pobox.com/~japhy/ > RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. [ I'm looking for programming work. If you like my work, let me know. ] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---------------------------------------------------------------------------- -------------------- The views and opinions expressed in this email message are the sender's own, and do not necessarily represent the views and opinions of Summit Systems Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]