in reply to Getting The Date Command to Redirect to File

use backticks:

my $date = `date +%x_%T`; print " date is " . `date +%x` . " until midnight\n"; date is 11/22/02 until midnight