in reply to How to get rid of the errors in my perl script
Hi!
To get rid of the errors, read the error-messages.
- line 11: you use $line[$i], but you have defined $line as a scalar (not an array)
- line 11: you use $i, but have never defined it ... (hint: and you don't need it)
- line 15: a syntax error is often caused by a missing semicolon the line before
- line 15: often error-messages are created due to errors before ... so solve the first three errors and check if this one prevails
|
---|
In Section
Seekers of Perl Wisdom