"Bill Doucet" <[EMAIL PROTECTED]> wrote:
>I am new to the list, new to MacPerl and new to Perl (I can hear the
>collective "Oh GREAT!" )
Actually compared to certain other perl lists (Ok news groups) which shall
remain nameless, this one is pretty newbie friendly
>.... I need a bit of info about an error message I am getting:
>
># Global symbol "PATH_LIB" requires explicit package name.
>File 'Macintosh HD:*NETWORK
>SOFTWARE:webstar:cgi-bin:opensrs:cgi:reg_system.cgi'; Line 9
># BEGIN not safe after errors--compilation aborted.
>File 'Macintosh HD:*NETWORK
>SOFTWARE:webstar:cgi-bin:opensrs:cgi:reg_system.cgi'; Line 9
it's kind of hard to do diagnostics without having a look at the source
code, but at a rough guess I'd say this error message is generated by the
'strict' pragma (use strict;) because
you're trying to set a variable called $PATH_LIB on (or just before) line 9
without having using a 'my()' declaration as in -
my ($PATH_LIB)='path:to:somewhere';
the other two lines are thrown up because of the first error.
solution : change the variable declaration to proceed
hth
Robin
- [MacPerl] OpenSRS anyone?? Bill Doucet
- Re: [MacPerl] OpenSRS anyone?? Bart Lateur
- RE: [MacPerl] OpenSRS anyone?? robinmcf
- RE: [MacPerl] OpenSRS anyone?? Bill Doucet
- Re: [MacPerl] OpenSRS anyone?? Scott R. Godin
- RE: [MacPerl] OpenSRS anyone?? Bill Doucet
- RE: [MacPerl] OpenSRS anyone?? Ken Williams
- RE: [MacPerl] OpenSRS anyone?? robinmcf