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