Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Undefined subroutine errors

by leriksen (Curate)
on Oct 26, 2005 at 03:11 UTC ( #502934=note: print w/replies, xml ) Need Help??


in reply to Re^2: Undefined subroutine errors
in thread Undefined subroutine errors

In this case no, but that doesnt stop someone else using Spiderman or DrOctopus with the full export.

As I said, it fixes his problem, YAWTDI, but not a great way.

...reality must take precedence over public relations, for nature cannot be fooled. - R P Feynmann

Replies are listed 'Best First'.
Re^4: Undefined subroutine errors
by ikegami (Pope) on Oct 26, 2005 at 03:15 UTC
    All you need to do is put BEGIN { ... } around our @EXPORT = ... (and remove the () from the use statements) and it works without fully qualified function names.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://502934]
help
Chatterbox?
[Discipulus]: 'unless it rains' => 'a meno che NON piova'
erix is always in favour of code-revolutions
[Lady_Aleena]: Well, right now, I"m looking at modules where I put randomness that aren't in my RolePlaying/Random dir, like RolePlaying:: Character:: Alignment that is mostly about random_alignment than expand_alignment.
[erix]: cute

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2017-05-27 20:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?