John Pataki ([EMAIL PROTECTED]):
> Actually,
> I would bet that the other instances of detecting the OS could be resolved
> using the File::Spec module as well?
> I have attached Jenda's Which.pm Version 0.3
I'm not sure what you mean John.
I suggested File::Spec to portably handle file operations (adds VMS
and Mac to Unix and Windows support already done).
The OS detection for MSWin is because Windows considers 'perl' to be
executable even when the file is 'perl.exe' (this the extension list).
I don't think this applies to any other OS. Other OSes (and Windows,
too) have associations. But adding that to this would make almost ANY
file exectuable (e.g. *.html opens a web browser) and that's now the
point of the 'which' command.
Maybe you can give an example?
--
Jeremy Wadsack
Wadsack-Allen Digital Group
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl