That said, if you want to remove the newline from the $today variable, you should use chomp.
chomp($today = `date +%D`);
-Blake
In reply to Re: avoiding newlines when using system calls.
by blakem
in thread avoiding newlines when using system calls.
by Zecho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |