Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Open Has a New Trick

by Zaxo (Archbishop)
on Oct 02, 2002 at 18:20 UTC ( [id://202343]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $foo= 'Now is the time for all good men to come to the aid of their
    + country';
    {
        local $\ = " ";
    ...
        open my $fh, '<', \$foo;
        print uc while <$fh>;
    }
    
  2. or download this
    my $foo;
    $_ = "She sells sea shells by the sea shore";
    {
    ...
        print $fh $_ for split;
    }
    print $foo;
    
  3. or download this
    my $oops;
    open STDERR, '>>', \$oops;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://202343]
Approved by dws
Front-paged by jarich
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-20 00:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found