perl help needed

February 24, 2009 at 15:46:04
Specs: Linux
I'm novice to perl. how do I access variable defined in other perl file in same directory?

so I have one.pl where $x and $y are defined. Now in two.pl, I'm trying to use x and y. I'm getting error Global symbol requires explicit package name. can some shed some light?


See More: perl help needed

Report •


#1
February 24, 2009 at 15:58:05
Have you read the related perl docs?

perldoc -f do
perldoc -f require
perldoc -f use


Report •
Related Solutions


Ask Question