Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Change package name on the fly?

by BrowserUk (Pope)
on Sep 05, 2012 at 23:20 UTC ( #991969=note: print w/replies, xml ) Need Help??

in reply to Change package name on the fly?

You could try:

  1. Slurp the source code of (one of) the packages.
  2. Edit the package statement.
  3. eval the edited source into existence.

Probably easier to just edit the name manually in the file until your testing is complete.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

RIP Neil Armstrong

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2016-10-23 01:08 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (299 votes). Check out past polls.