Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Problem with Parentheses

by toolic (Chancellor)
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:


Comment on Re: Problem with Parentheses
Download Code

Log In?
Username:
Password:

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

    Is guessing a good strategy for surviving in the IT business?





    Results (106 votes), past polls