I have a script to call the other script.
hello.pl
Code:#!/usr/local/bin/perl print("Hello " . $ARGV[0] . "\n\n");
test_hello.pl
How can I make this possible to work for both in UNIX & Windows?Code:#!/usr/local/bin/perl $script='hello.pl'; system("$script Dave");


Reply With Quote
