Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: system and &>/dev/null

by duelafn (Parson)
on Oct 10, 2008 at 02:21 UTC ( [id://716353]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    [tmp]$ cat broomduster.pl
    open my $fh, '>', 'zeros'  or die "error opening fh: ($!)";
    ...
    [tmp]$ rm zeros; perl broomduster.pl; ls -lh zeros; du -h zeros
    -rw-rw-r-- 1 duelafn 10M 2008-10-09 22:17 zeros
    11M     zeros
    
  2. or download this
    [tmp]$ cat duelafn.pl
    open my $fh, '>', 'zeros'  or die "error opening fh: ($!)";
    ...
    [tmp]$ rm zeros; perl duelafn.pl; ls -lh zeros; du -h zeros
    -rw-rw-r-- 1 duelafn 10M 2008-10-09 22:17 zeros
    12K     zeros
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-25 22:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found