Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Paradigm Shift - Don't use strict

by blakem (Monsignor)
on Nov 13, 2001 at 00:17 UTC ( #124905=note: print w/replies, xml ) Need Help??

in reply to Paradigm Shift - Don't use strict

I agree with most of your points, but handrolling your own exporter really isn't all that bad1. If you look through, you'll find that most of it is just syntactic sugar around the following bit of code2 that looks remarkably similiar to what you noted:
*{"${callpkg}::$sym"} = \&{"${pkg}::$sym"}
There is also a nearly identical call for $vars and @arrays and %hashes, etc. is mainly just a nicer interface for this admitedly scary chunk of code.

1Assuming you're Lincoln Stein
2From 5.005_03 since I once disected its for fun


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://124905]
shmem flollops

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2018-03-23 11:36 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (290 votes). Check out past polls.