Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^7: Split output by tabs

by shmem (Canon)
on Nov 13, 2012 at 14:20 UTC ( #1003621=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %handle = ( out => *STDOUT,
                   err => *STDERR );
    print {$handle{out}} "Test\n"; # Not possible without braces.
    
  2. or download this
    my %handle = ( out => *STDOUT,
                   err => *STDERR );
    my $fh = $handle{out};
    print $fh "Test\n"; # Look, ma! no curlies at all.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (13)
As of 2014-12-18 16:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (58 votes), past polls