develooper Front page | perl.beginners | Postings from February 2002

Re: Formats

Thread Previous
Jeff 'japhy' Pinyan
February 1, 2002 10:19
Re: Formats
Message ID:
On Feb 1, 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
RPI Acacia brother #734
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About