Front page | perl.beginners |
Postings from February 2002
From: Jeff 'japhy' Pinyan
February 1, 2002 10:19
Message ID: Pine.GSO.firstname.lastname@example.org
On Feb 1, ABhagwandin@STSSystems.com said:
>Why does the following not work for me?
>format NAME =
>$test = "asdfjkl;";
That tries writing to the filehandle NAME, too. Instead of select(NAME),
$~ = "NAME";
That will set STDOUT's default format name to "NAME".
Jeff "japhy" Pinyan email@example.com 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.