Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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.

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

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 musing on the Monastery: (5)
As of 2015-11-27 19:58 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (731 votes), past polls