Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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


Comment on Re: Paradigm Shift - Don't use strict
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://124905]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (1)
As of 2015-10-10 08:26 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (255 votes), past polls