>>>>> "TE" == Tony Esposito <tony1234567...@yahoo.co.uk> writes:

  TE> foreach (@dates) {
  TE>   pop(@dates);

why are you popping @dates there? you are looping over it from left to
right but also losing elements from the right.

  TE>   print $_ . "\n";
  TE> }

      

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

--
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