i hope you mean "my $date = localtime;"
as is, it doesn't print anything.
do a 'perldoc -f localtime' to learn more about the function. you probably want to call it in list context and extract the fields that you want.
In reply to Re: Changing output
by thraxil
in thread Changing output
by ellem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |