Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Backticks to capture umask output

by saberworks (Curate)
on May 24, 2011 at 20:46 UTC ( #906569=note: print w/replies, xml ) Need Help??


in reply to Backticks to capture umask output

I recommend you:
use warnings; use strict;
This will tell you exactly what the problem is. On my system I get this:

Can't exec "umask": No such file or directory at umask.pl line 4.
$ which umask
Indicates that it's not an actual command you can call. Why aren't you just using the umask perl function?
umask
Sets the umask for the process to EXPR and returns the previous value. If EXPR is omitted, merely returns the current umask.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://906569]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2017-01-17 05:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (152 votes). Check out past polls.