Perl Monk, Perl Meditation | |
PerlMonks |
Re: •Re: Re: Re: shebang line - foreign to meby IlyaM (Parson) |
on Dec 29, 2002 at 11:28 UTC ( [id://222910]=note: print w/replies, xml ) | Need Help?? |
Either that's a recent feature (and therefore not portable), or hasn't been documented.
I think it was there at least since 5.005. There is some mentions of this feature in ExtUtils::MM_Unix (search for fixin) but it seems it is not documented anywhere properly. Where did you find out about this? From personal experience. I just noticed that ExtUtils::MakeMaker always replaces my shebang with something else :) For example on my Linux system it replaces existing shebang with On Win32 I noticed that ExtUtils::MakeMaker does another magic. It creates .bat file which wraps perl script and adds .pl extenstion to perl script when doing its installation. I found that at least on Unix, Unix-like systems and on Win32 systems ExtUtils::MakeMaker does the right thing.
--
In Section
Seekers of Perl Wisdom
|
|