Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 contemplating the Monastery: (10)
As of 2015-03-03 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (70 votes), past polls