Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: how to have / in FILEHANDLE?

by tobyink (Abbot)
on May 28, 2012 at 06:45 UTC ( #972784=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub hello/world {
      say "Hello World";
    }
    
  2. or download this
    *{'hello/world'} = sub {
        print shift, "\n";
    };
    
    &{'hello/world'}("Hello World!");
    
  3. or download this
    open *{'hello/world'}, '>', '/home/tai/tmp/helloworld.txt';
    print {*{'hello/world'}} "Hello World!\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://972784]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2016-12-02 21:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (50 votes). Check out past polls.