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

Re: variable inside a string inside back ticks

by Anonymous Monk
on Jul 30, 2017 at 16:22 UTC ( [id://1196314]=note: print w/replies, xml ) Need Help??


in reply to variable inside a string inside back ticks

my $today = `date "+%Y%m%d"`;
chomp $today;
my $filename = `ls electric_inventory_WE_$today*.dat`;

But really, try and follow hakuex's advice
  • Comment on Re: variable inside a string inside back ticks

Log In?
Username:
Password:

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

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

    No recent polls found