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

Re: Problem with Parentheses

by toolic (Bishop)
on Aug 21, 2012 at 21:11 UTC ( #988873=note: print w/replies, xml ) Need Help??


in reply to Problem with Parentheses

This avoids the error for me:
my $cmd = 'find . -type f \( -perm -0020 -o -perm -0004 -o -perm -0002 + -o -perm -0001 -o -perm -1000 \) -ls'; my $out = "output.txt"; open (MYFILE,"> $out"); print MYFILE `$cmd`;

See also:

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2016-12-08 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (133 votes). Check out past polls.