Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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.


Comment on Re: Backticks to capture umask output
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://906569]
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: (9)
As of 2014-11-21 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (104 votes), past polls