Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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:


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 rifling through the Monastery: (14)
As of 2016-02-09 16:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (321 votes), past polls