Re: Packages in Perl

2010-11-12 Thread Shawn H Corey
On 10-11-12 10:36 AM, Sooraj S wrote: Hi I am new to perl. I am trying to access a variable which is declared in a package. I have kept both the files in the same directory. But still my code errors out as ""$my_val" requires explicit package name". my_file.pl === #!/usr/bin

Re: Packages in Perl

2010-11-12 Thread Shlomi Fish
Hi Sooraj, welcome aboard. On Friday 12 November 2010 17:36:54 Sooraj S wrote: > Hi I am new to perl. > > I am trying to access a variable which is declared in a package. I > have kept both the files in the same directory. But still my code > errors out as ""$my_val" requires explicit package na