For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > January 2007 > Re: confusion with splitting columns using [-n, -n] (e.g; my ( $country,









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: confusion with splitting columns using [-n, -n] (e.g; my ( $country,
John W. Krahn

2007-01-30, 6:59 pm

Andy Greenwood wrote:
> On 1/30/07, Michael Alipio <daem0nb0y@yahoo.com> wrote:
>
> (split) gives you an array,


Actually, it gives you a list, which you can then store in an array.

perldoc -q "What is the difference between a list and an array"



John
--
Perl isn't a toolbox, but a small machine shop where you can special-order
certain sorts of tools at low cost and in short order. -- Larry Wall
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com