[Chicago-talk] ->can and AUTOLOAD

Steven Lembark lembark at wrkhors.com
Thu Dec 4 13:37:18 CST 2003

-- Jay Strauss <me at heyjay.com>

> I don't know what you mean here.  Can you give a full example?

The original AUTOLOAD -- your code -- has a no strict 'refs'
at the top of the sub's block. You don't really need to turn
off strict ref's throughout the block, only in the one place
where you perform the glob assignment. So, put the glob
assignment into a block and stick the no strict in there to
localize where you turn off sanity checking.

Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 888 359 3508

More information about the Chicago-talk mailing list