![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re^3: Understanding using external program databy Anno (Deacon) |
on Feb 14, 2007 at 20:03 UTC ( #600064=note: print w/replies, xml ) | Need Help?? |
Oh dear, that's a very superficial description of the situation.
The "hashbang" line in a script and a "package" line in a module have very little in common. One is Perl, the other isn't, for one essential difference. Each can usefully appear in the other kind of file, so they're not even distinctive. Please read up on the function of each. See perldoc perlrun for the hashbang line and perldoc perlmod (plus perldoc -f package for the package statement. Anno
In Section
Seekers of Perl Wisdom
|
|