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