in reply to Converting between localtime scalar and list contexts
Or, see the POSIX module's strftime() time formatting routine that would allow you to take @timeArray above and format it however you wish.my $time = time; my $ctime = localtime($time); my @timeArray = localtime($time);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Converting between localtime scalar and list contexts
by cforde (Monk) on Jun 06, 2001 at 01:13 UTC |