Trilight Zone Forum Index Trilight Zone
Privacy & Anonymity is our speciality !
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Starting Perl programs under AmigaOS

 
Post new topic   Reply to topic    Trilight Zone Forum Index -> Other OS
Author Message
thedark
Second Lieutenant


Joined: 30 Jul 2005
Posts: 1074

PostPosted: Thu Aug 04, 2005 12:54 pm    Post subject: Starting Perl programs under AmigaOS Reply with quote

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.)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Trilight Zone Forum Index -> Other OS All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group