Perl-Sensitive Sunglasses | |
PerlMonks |
passing a variable value to Unix commandby Anonymous Monk |
on Oct 19, 2010 at 22:04 UTC ( [id://866177]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi All, I have an array of keywords such as @a = qw(xyz, uvw, tid, bnjuw) I want to run the Unix find command on each one of these keywords using a Perl script as: But Perl gives an error saying "Scalar found where operator expected". Please tell me what I am doing wrong? I am new to Perl so please help me. Sally Field
Back to
Seekers of Perl Wisdom
|
|