Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2017-07-25 09:17 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (367 votes). Check out past polls.