Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

use Fatal;

by cLive ;-) (Prior)
on Jan 10, 2002 at 04:12 UTC ( #137626=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open(FILE,'/path/to/file');
    print while (<FILE>);
    ...
    open(FILE2,'/path/to/file2');
    print while (<FILE2>);
    close(FILE2);
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    open(FILE2,'/path/to/file2') || die $!;
    print while (<FILE2>);
    close(FILE2);
    
  3. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    open(FILE2,'/path/to/file2');
    print while (<FILE2>);
    close(FILE2);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://137626]
Approved by root
help
Chatterbox?
[LanX]: according to wp: Londoners voted in a referendum in 1998 to create new governance structures for Greater London.
[LanX]: so it was the will of the people to take back control
[LanX]: ;)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2017-12-15 19:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (442 votes). Check out past polls.

    Notices?