in reply to Re: Perl Module Problems
in thread Perl Module Problems
When I leave the string unquoted it gives this error:Can't use string ("cstrike") as an ARRAY ref while "strict refs" in us +e at HLDS.pm line 34 (#1) (F) Only hard references are allowed by "strict refs". Symbolic references are disallowed. See perlref. Uncaught exception from user code: Can't use string ("cstrike") as an ARRAY ref while "strict ref +s" in use at HLDS.pm line 34. HLDS::GameMaps('cstrike') called at test.pl line 11
I am not referring to an array, just passing an argument as a string. What to do?Bareword "cstrike" not allowed while "strict subs" in use at test.pl l +ine 11. Execution of test.pl aborted due to compilation errors (#1) Uncaught exception from user code: Bareword "cstrike" not allowed while "strict subs" in use at t +est.pl line 11. Execution of test.pl aborted due to compilation errors.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl Module Problems
by ikegami (Patriarch) on Sep 23, 2006 at 21:12 UTC | |
by davidov0009 (Scribe) on Sep 24, 2006 at 04:06 UTC | |
by ikegami (Patriarch) on Sep 24, 2006 at 04:17 UTC |