Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

close STDOUT and system equal strange?

by jptxs (Curate)
on Feb 21, 2004 at 23:12 UTC ( #330861=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    close STDOUT;
    close STDERR;
    ...
    system('ls') == 0 or print FILE "oops $!\n";
    
    print "that\n";
    
  2. or download this
    this
    DBVARS.main
    ...
    nssswitch.sh
    testing.stdout
    tryCloseSDTOUT.pl
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://330861]
Approved by valdez
Front-paged by blue_cowdawg
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2014-07-11 22:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (235 votes), past polls