Re: $_ substitution Question

2010-04-02 Thread jet speed
On Thu, Apr 1, 2010 at 5:58 PM, Shawn H Corey wrote: > jet speed wrote: > >> Hi Chaps, >> >> I need bit more help with this, i slightly modified the code based on the >> inputs, still having the same issue of $_ substitution. >> >> Appreciate your help with this. >> >> ###

Re: str2time returns bad result for timezone MST7MDT during daylight time

2010-04-02 Thread Shlomi Fish
Hi Kelly, On Friday 02 Apr 2010 01:11:24 Kelly Jones wrote: > This code: > > perl -le 'use Date::Parse; for $tz ("MST", "MDT", "MST7MDT") {print > str2time("04 Jul 2009 14:42:00 $tz");}' > > returns: > > 1246743720 > 1246740120 > 1246743720 > > In other words, str2time returns the same Unix ti