On Mon, 27 Aug 2012 08:11:12 -0400
Shawn H Corey <shawnhco...@gmail.com> wrote:

> On Mon, 27 Aug 2012 17:18:10 +0700
> Eko Budiharto <eko.budiha...@gmail.com> wrote:
> 
> > my $endDate2 = $time{'dd-mm-yyyy', time + 86400 * 14};
> > my $startDate2 = $time{'dd-mm-yyyy', time - 86400 * 0};
> 
> Where is the hash %time assigned its values?
> 
> 

Furthermore, they are accessing two elements of the hash using the $hash{$key} 
notation.
While this can be done and it will concatenate the keys using $; (IIRC), it is 
not
recommended, and you should use join instead.

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
The Case for File Swapping - http://shlom.in/file-swap

You can never truly appreciate The Gilmore Girls until you’ve watched it in
the original Klingon.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to