How can we use variables or packages of one program into another.
Say my first program name is First.pl, where i write the code like this:
Expand|Select|Wrap|Line Numbers
- use DBI;
- use Apache::Request;
- ....................................
- ....................................
- my $a='hai';
- print "$a \n";
Also i would like to have the value of the variable in my second
program. How is it possible? Can i write something like
use folder::First; and i use the packages in my second program?
Cheers,
pavan