[sf-perl] calling Perl routines into another Perl program

Kevin Patterson kpatters at berkeley.edu
Thu May 29 18:44:38 PDT 2008


Sorry..

I am a newbie...

But thanks for the education!!! 


-----Original Message-----
From: Joe Brenner [mailto:doom at kzsu.stanford.edu] 
Sent: Thursday, May 29, 2008 5:44 PM
To: kpatters at berkeley.edu; San Francisco Perl Mongers User Group
Subject: Re: [sf-perl] calling Perl routines into another Perl program


Kevin Patterson <kpatters at berkeley.edu> wrote:

> Is it possible to call a Perl routine into another Perl program ??

Yes.

I'm tempted to stop there, but we're supposed to be nice here.

Typically, we would say you "call the routine *from* another program",
does that sound like what you mean?

The right way to do this is to put the routine in a module and "use" it
in the program that is going to call the routine.

You might try doing a "perldoc perlmod", and see if that makes sense to
you.




More information about the SanFrancisco-pm mailing list