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.
It's not just the longwinded bogus things it does (Score:2)
The reason for me was that FindBin just produced an error, in this case in a CGI script, because it had insufficient access rights to one of the ancestor directories (which is like a parent directory but possibly further upstream) of the directory that the script was in — for some reason, FindBin seems to think it's necessary to walk the whole path.
So even though the script worked from the command line, it always crashed when run as a CGI.
Reply to This
Re:It's not just the longwinded bogus things it do (Score:1)
Argh! That never occured to me – just another reason to steer clear. It’s almost comical how broken FindBin is if you get down to it – it’s almost a miracle how rarely people seem to be affected by that.