filePro Perl scripts (and other scripting languages)

Jay Ashworth jra at baylink.com
Wed Jan 9 17:53:20 PST 2013


----- Original Message -----
> From: "Kenneth Brody" <kenbrody at spamcop.net>

> Yes, you can use things like "#!/usr/bin/perl" on *nix systems, but
> you need to hard-code the path (so if you move to a system where it's
> "/usr/local/bin/perl", it won't work unless you edit all of your
> scripts), and it's not portable to Windows.

In fact the current received wisdom is:

#!/usr/bin/env perl $PERLSWITCHES

Which, certainly, pushes the issue down a layer, but as far as I know,
if you have env at all, you have it in /usr/bin.

Cheers,
-- jra
-- 
Jay R. Ashworth                  Baylink                       jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com         2000 Land Rover DII
St Petersburg FL USA               #natog                      +1 727 647 1274


More information about the Filepro-list mailing list