NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Uncontested use of #!/usr/bin/env (Score:2)
Using #!/usr/bin/env is a quick band-aid that will break in practical solutions. First, it requires an additional launch, possibly breaking setuid. Second, it depends on the callers environment, which will almost certainly be different for different invokers, leading to pulling up the wrong Perl/shell/Python/Ruby, etc.
You'd think people writing developer.apple.com[1] articles would have gotten better reviewers to point this stuff out. Oh well.
[1] He says that, also realizing that this applies to himself [apple.com] as well.
Reply to This