Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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 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?
Sets the umask for the process to EXPR and returns the previous value. If EXPR is omitted, merely returns the current umask.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2016-10-24 23:21 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (311 votes). Check out past polls.