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 drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2015-07-06 06:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls