|XP is just a number|
Re: compilation errors???by E-Bitch (Pilgrim)
|on Aug 22, 2001 at 08:18 UTC||Need Help??|
Okay, guess I overstepped my bounds... that last comment was out of line. My apologies.
I wasnt aware that the last statement in a block wasnt needed... ya learn something new everyday. ++cLive!
Totally missed the scalar part (I should have known that).
First observation: All of your arrays (and other variables, for that matter) need to be declared local using the 'my' keyword (i.e: my @pages; etc) if you are going to use strict.
The second observation: for ($i=0; $i <= (@filenames-1); $i++) should probably read for ($i=0; $i <= ($#filenames-1); $i++)
The third observation:
Not to sound callous, but try debugging your code before something is assumed to have gone wrong with the module... your errors may be causing something wierd to happen during compilation.
Tempora Mutantur Nos et Mutamur in Illis
"The Times are Changed Even as We are Changed in Them"