in reply to System call problem


Err... the correct answer is RTFM but I'd rather tell you chomp (in case I would have missed something...)
my $date = `date +%Y%m%d`; chomp $date; print "($date)";

"Trying to be a SMART lamer" (thanx to Merlyn ;-)