Pyramid has asked for the wisdom of the Perl Monks concerning the following question:
$len = length($day[5]); if ($len =~ /8/) { print "$day[5]"; } else { print "00:00:00"; }
Edit: Added code tags. Minor html formatting. larsen
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Null in Array
by Zaxo (Archbishop) on Jul 29, 2003 at 02:20 UTC | |
by Pyramid (Initiate) on Jul 29, 2003 at 22:15 UTC | |
Re: Null in Array
by sgifford (Prior) on Jul 29, 2003 at 05:48 UTC | |
by Pyramid (Initiate) on Jul 29, 2003 at 22:18 UTC | |
Re: Null in Array
by bobn (Chaplain) on Jul 29, 2003 at 02:57 UTC | |
Re: Null in Array
by mpd (Monk) on Jul 29, 2003 at 02:22 UTC |