Hi,
On Tue, Oct 9, 2012 at 4:54 PM, Rajeev Prasad <rp.ne...@yahoo.com> wrote: > I want to execute this routine which is to be supplied two(sometimes > three) string variables. and will return two string variables. I want to > keep this routine in a separate file. how to do it? > > You might want to look into Perl packages and symbol tables. See these documentations: perlmod, perlmodlib, Exporter. Just do like so from your Command Line Interface (CLI): perldoc perlmod, perldoc perlmodlib OR perldoc Exporter > > something like: > > ($var1,$var2) = routine <arg1> <arg2> > > I am either looking to keep this routine in a file which has many > routines. OR > to keep this routine in a separate file, which has ONLY this routine. > > please suggest how to pass variables and accept the multiple values > returned by the routine. > > ty. > -- Tim