using chomp() will eliminate your newline woes. Try the following code and note the differences :
my $today = `date +%D`; print $today; chomp($today); print $today;
Azatoth a.k.a Captain Whiplash
Make Your Die Messages Full of Wisdom!In reply to Re: avoiding newlines when using system calls.
by azatoth
in thread avoiding newlines when using system calls.
by Zecho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |