Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: passing a variable value to Unix command

by runrig (Abbot)
on Oct 19, 2010 at 22:09 UTC ( [id://866180]=note: print w/replies, xml ) Need Help??


in reply to passing a variable value to Unix command

my $name = $k.\*;
should be:
my $name = $k . "*";
or:
my $name = "$k*";
Also qw expects whitespace separated arguments, so I suspect you don't want the commas in there.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-20 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found