thedark Second Lieutenant
Joined: 30 Jul 2005
Posts: 1074
|
Posted: Thu Aug 04, 2005 12:54 pm Post subject: Starting Perl programs under AmigaOS |
|
|
Start your Perl program foo with arguments arg1 arg2 arg3 the same way as on any other platform, by
perl foo arg1 arg2 arg3
If you want to specify perl options -my_opts to the perl itself (as opposed to your program), use
perl -my_opts foo arg1 arg2 arg3
Alternately, you can try to get a replacement for the system's Execute command that honors the #!/usr/bin/perl syntax in scripts and set the s-Bit of your scripts. Then you can invoke your scripts like under UNIX with
foo arg1 arg2 arg3
(Note that having *nixish full path to perl /usr/bin/perl is not necessary, perl would be enough, but having full path would make it easier to use your script under *nix.) |
|