Spliter has asked for the wisdom of the Perl Monks concerning the following question:
how do I account for multiple lines of input into an array or has? In other words, I want to distinguish between lines of input, but I do not know how to get Perl to input one line (carriage return) then another line and etc.while (<>){ .... }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Deciding unique elements of an array
by jarich (Curate) on Nov 15, 2001 at 08:25 UTC | |
Re: Deciding unique elements of an array
by FoxtrotUniform (Prior) on Nov 15, 2001 at 08:21 UTC | |
by Hofmator (Curate) on Nov 15, 2001 at 19:06 UTC | |
by FoxtrotUniform (Prior) on Nov 15, 2001 at 22:03 UTC | |
Re: Deciding unique elements of an array
by Chrisf (Friar) on Nov 15, 2001 at 08:19 UTC | |
Re: Deciding unique elements of an array
by dvergin (Monsignor) on Nov 15, 2001 at 11:01 UTC | |
Re: Deciding unique elements of an array
by japhy (Canon) on Nov 15, 2001 at 11:11 UTC | |
Re: Deciding unique elements of an array
by Sinister (Friar) on Nov 15, 2001 at 14:43 UTC | |
by rolfy (Acolyte) on Sep 14, 2005 at 01:21 UTC |