On Apr 4, 2005 2:42 PM, [EMAIL PROTECTED] wrote:
> 
> Using use strict; I end up with a range of warnings, I don't know how
> relevant they are here. Thanks again.
> 

Those aren't warnings, they are errors - your program is not compiling
correctly. You need to place a "my" in front of your variables when
you declare them (not when you use them) when you "use strict".

Originally, your problem is here:
$list1 = @rawtext;
This simply puts the number of items in the array @rawtext (i.e. the
number of lines of the input file) into the scalarvariable $list1.
What were you trying to do?

-- 
Offer Kaye

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to