in reply to sub strict refs errors.
What are HL1, HL1 and txt and why are you concatenating the last two?
What Perl sees are three bare words and assumes they are subroutine calls (HL1, HL1 and txt). The . is the concatenation operator. Perhaps what you meant was:
my @games = HLDS::ReadFile ('HL1', 'HL1.txt');
Update: Doh, /me slaps self about the head with a wet fish having read the fine print in the OP.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: sub strict refs errors.
by davidov0009 (Scribe) on Oct 03, 2006 at 01:16 UTC |