Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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
Re: Re: Re: Re: Printing From a File Handle
by bkiahg (Pilgrim) on Apr 28, 2004 at 20:43 UTC
Re: Re: Re: Re: Printing From a File Handle
by NodeReaper (Curate) on Apr 28, 2004 at 20:55 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: (15)
As of 2014-09-22 17:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls