Hi Irfan

Create a perl Module.
The Module should start with and should be the second line after ther perl path

package <ModuleName>;

sub function_name
{
  my ($pas1,$pass2,$array,$return)[EMAIL PROTECTED];

 Do the Processing

 $_[3]= Send the Value..>Can be anything array, hash, or...$;
}


In the PERL  file

use <ModuleName>;
&ModuleName::function_name($conn,$name,@mark,$total);

==

Hope this is clear..

Irfan J Sayed wrote:
Hi All,

I need to call/execute another perl file from my backup.pl perl script by giving some argument.

Can anybody please tell me how to do that?

Regards
Irfan Sayed



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to