>
>
> my @List = qw(one two three);
>
> for(0 .. $#List) {
> print "Indice $_ contains: $List[$_]\n";
> }
Thanks Dave
After seeing your reply it jogged my memory and this is exactly how
I did it before. I had forgotten about the $#list
Thanks to all who replied to my question.
I'm working on Perl, JAVA, Cobol and XSLT application all at the
same time. Wouldn't it be nice if we all spoke Perl.
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs