The filename you get from my $filename=<STDIN> has a newline at the end. You need to remove this, for example by doing a chomp $filename.
In reply to Re: problem with naming the file with current date and time
by Crackers2
in thread problem with naming the file with current date and time
by Arbariya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |