Thank you. I am confused about how to send variables to this ext.pl and get values (scalars) back into main.pl
another confusion is from web the cgi will run, i want to check cookies in external subroutine file and redirect to some website based on some condition, or gives some values back to calling program if condition is met. can i do this kind of thing by putting this subroutine in external file? i am reading "perldoc perlmod" but still not able to understand the concept.... ________________________________ From: Shawn H Corey <shawnhco...@gmail.com> To: beginners@perl.org Sent: Saturday, August 11, 2012 6:43 AM Subject: Re: subroutine in seperate file, question On Sat, 11 Aug 2012 02:49:56 -0400 shawn wilson <ag4ve...@gmail.com> wrote: > On Aug 10, 2012 11:41 PM, <pa...@riseup.net> wrote: > > > > > I mean to ask, wether they will clash with the same loaded modules > loaded > > > in calling script? > > > > > > > No. they are loaded only once. > > > > Well, they will both be in ISA to look up separately but there is no > conflict. No, @ISA is used only by Exporter.pm It's %INC that records what modules have been loaded. See `perldoc perlvar` and search for /%INC/ -- Just my 0.00000002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. _Perl links_ official site : http://www.perl.org/ beginners' help : http://learn.perl.org/faq/beginners.html advance help : http://perlmonks.org/ documentation : http://perldoc.perl.org/ news : http://perlsphere.net/ repository : http://www.cpan.org/ blog : http://blogs.perl.org/ regional groups : http://www.pm.org/ -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/