in reply to package sub and code reference

Give'em enough rope, I say...(no blessing involved)
package MyPackage; sub hello { print "hello\n"; } package AnotherPackage; *hello = \&MyPackage::hello; package main; AnotherPackage::hello();

Replies are listed 'Best First'.
Re: Re: package sub and code reference
by Trimbach (Curate) on Sep 28, 2001 at 02:32 UTC
    Wow that is just so deeply wrong.

    If heresy were truly possible at the Monestary, this would certainly qualify.

    Look away, lest yer eyes be burned from their sockets!

    (grin)

    Gary Blackburn
    Trained Killer