Hello,
I have a simple question.
I run a perl script on a windows server which use blat to send an email with an attachement. But blat doesn't support to have a blank in the filename.
My fiename is here:
The variable is for example equal to : "./mail/200701231020.Cust Nomade.msg"
So I need to remove all blanks in this variable.
I tried this regular expression but it delete the also the $start_time variable:
Does anyone have an idea ?
Thanks in advance
I have a simple question.
I run a perl script on a windows server which use blat to send an email with an attachement. But blat doesn't support to have a blank in the filename.
My fiename is here:
Code:
my $emaillink="./mail/$start_time.$_[0].msg";
So I need to remove all blanks in this variable.
I tried this regular expression but it delete the also the $start_time variable:
Code:
$emaillink_new =~ s// /g;
Does anyone have an idea ?
Thanks in advance