On Jan 17, 2004, at 3:21 PM, Dan Muey wrote:
I was curious if it's possible to have a module like so:
package Foo:Monkey;
use strict; use warnings;
Then in my script:
#!/usr/bin/perl
use Foo::Monkey;
No.
Try to think about the Issue of Scoping.
I can appreciate the idea that it would be cooler if one could start with say
use Foo::Monkey;
and have it contain
#!/usr/bin/perl use strict; use warnings; use diagnostics;
and work in the sort of
#include "stockHeaderStuff"
way that would turn it into a one liner.
ciao drieux
---
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>