Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Re: Printing From a File Handle

by haoess (Curate)
on Apr 28, 2004 at 20:36 UTC ( #348943=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Printing From a File Handle
in thread Printing From a File Handle

TIMTOWTDI:
# shortest print "$_<br />" while <AP_MENU>; # show what you mean { local $\ = "<br />"; print while <AP_MENU>; } # more readable? foreach my $line (<FILE>) { print $line, "<br />"; }
-- Frank
Comment on Re: Re: Re: Printing From a File Handle
Download Code
Replies are listed 'Best First'.
Re: Re: Re: Re: Printing From a File Handle
by bkiahg (Pilgrim) on Apr 28, 2004 at 20:43 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://348943]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2016-05-01 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?