Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: using a set variable in system or exec

by ColtsFoot (Chaplain)
on Jul 08, 2003 at 14:18 UTC ( [id://272290]=note: print w/replies, xml ) Need Help??


in reply to using a set variable in system or exec

You could try building up the command string as follows
my $cmd = join('', 'rm /storage/filename', $date, '_more_filename.csv' +); system ($cmd);
HTH

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-24 01:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found