You can get all the basic stuff on arrays in this url
http://perldoc.com/perl5.8.0/pod/perlintro.html
You can get more info from this url also
www.cs.cf.ac.uk/Dave/PERL/
FYI
perldoc.com contains all the information related to perl in web page format.
SV
On Mon, 1 Sep 2003, Antonio Jose wrote:
Thanks to John W Krahn and Shishir for your replys, need to learn about
push
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Steven Massey wrote:
>
> Hi any help appreciated...
Hello,
> I am reading a file consisting of lines with upto 2 sets if data seperated
> by : ie
>
> 13:fred
> 12:nancy
> lional:
>
> each line is split into @a1 and @a2, here is my problem - if line does not
> have @a2 as in example line 3
How about writing it like this ??
Assuming
a) The numeric value is in 1st col and the text in 2nd col (after :)
b) Wherever numeric value is not present, the text is in the first column.
c) The numeric value needs to be picked up from the last successful read of the
numeric value if not alread