What is happening here?

$date = `/bin/date + %y%m%d`;
print "$date";

prints
>20010914
>

But if I add:

$a = chomp($date);
print "$a";


it prints
>


What happens to the number?  Why doesn't chomp just get rid of the newline?

Thank you in advance.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to