Cool idea...

Having said that: Ye Gods, you're mad!

-steve


Mark Fowler wrote:
> 
> Check the bugs section of (the yet unpublished) firstof.pm:
> 
>     CALLING TYPE BUG
>            Rather than doing
> 
>                use \"Fred", Foo, Wibble;
> 
>            I'd like to do
> 
>                use Fred Foo, Wibble;
> 
>            Akin to what print does.  But currently prototypes
>            (and import) won't allow me to express this.
> 
> And the section of 'perldoc -f use'
> 
>   use Module VERSION LIST
> 
>   <some stuff>
> 
> If the VERSION argument is present between Module and LIST, then the
> use will call the VERSION method in class Module with the given
> version as an argument.  The default VERSION method, inherited from
> the UNIVERSAL class, croaks if the given version is larger than the
> value of the variable $Module::VERSION.
> 
> My question is, how evil would it be to override VERSION to do something
> that it was never, ever, designed for...
> 
> Later
> 
> Mark.
> 
> P.S.
> 
>   http://2shortplanks.com/firstof/firstof.pm
>   http://2shortplanks.com/firstof/firstof.html
> 
> --
> print "\n",map{my$a="\n"if(length$_>6);' 'x(36-length($_)/2)."$_\n$a"} (
>    Name  => 'Mark Fowler',        Title => 'Technology Developer'      ,
>    Firm  => 'Profero Ltd',        Web   => 'http://www.profero.com/'   ,
>    Email => '[EMAIL PROTECTED]',   Phone => '+44 (0) 20 7700 9960'      )

-- 
 Steve Purkis                 Technical Architect
 [EMAIL PROTECTED]           www.ebookers.com

Reply via email to