Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: passing a variable value to Unix command

by JavaFan (Canon)
on Oct 20, 2010 at 01:50 UTC ( [id://866222]=note: print w/replies, xml ) Need Help??


in reply to passing a variable value to Unix command

foreach my $k (@a) { my $x = `find . -name $k.* -print`; ... do something with $x ...; }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://866222]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-19 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found