in reply to best way to write code
my ($ss, $min, $hh, $dd, $mm, $yyyy) = map({$_ < 10 ? '0' . $_ : ''.$_} localtime); $yyyy += 1900; print "$ss, $min, $hh, $dd, $mm, $yyyy\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: best way to write code
by strictvars (Sexton) on Apr 12, 2005 at 20:30 UTC |