in reply to Using variables within packages

Look through node How to use variables from other package?. I hope that it helps you understand using of variables scope.
      
--------------------------------
SV* sv_bless(SV* sv, HV* stash);

Replies are listed 'Best First'.
Re: Re: Using variables within packages
by floyd (Acolyte) on May 09, 2003 at 16:07 UTC
    Aha!
    I finally worked it out!
    I was using the ordinary name for the variable (ie. $path) when I should have used $main::path! I also understand that I could use $::path, but haven't tried it!
    Thanks everyone!
    Floyd