Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 imbibing at the Monastery: (5)
As of 2014-09-23 06:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (210 votes), past polls