Subroutine getting its own path

2009-01-27 Thread mark . malyj
I’m a database guy, but Perl is new to me. I have a script called ServiceScript.pl that contains a subroutine called ServiceRoutine. This routine connects to a database and returns data into an array. I want my customer to be able to call this subroutine from any of their hundreds of perl scripts,

Re: Subroutine getting its own path

2009-01-27 Thread mark . malyj
Sorry, I had a typo. My code snippet above should have said: require 'ServiceScript.pl'; my $svccmdline = $uspname $uspparams; $rtncode = ServiceRoutine($svccmdline, \...@rtndata); - Marko -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: