Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Export function from module

by 2teez (Vicar)
on Apr 30, 2013 at 04:56 UTC ( #1031316=note: print w/replies, xml ) Need Help??


in reply to Re^2: Export function from module
in thread Export function from module

Hi AM,
I want to believe the Anonymous Monk is the OP iang.
If so, what other errors are you getting?
Dave have pointed out that explicitly, that the package you used is Helper not HELPER.
Hope, your module is also saved as Helper.pm not HELPER.pm.

That been said, don't forget you only "exported" the foo subroutine.
However, if you still wanted the bar subroutine, then use Helper::bar() in your script.

UPDATE: Oouch!! Davido, got that answered before me !!! Why am i this slow typing..Ah...
Nice one, faster fingers.

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031316]
help
Chatterbox?
[Corion]: Mhhmmm - https://sod.pixlab .io/ looks really interesting for embedding with Perl (XS), but they don't have any kind of free model available and the cheapest pretrained model costs EUR 40 :-(
[Corion]: Maybe I should mail them to find out if they can provide me a "hotdog / no hotdog" model for developping the XS bindings. It would be nice to have a self-contained XS library for applying models to data. Or maybe I should look at TensorFlow, which can...
[Corion]: ... at least be trained by me, instead of relying on a vendor
[Discipulus]: complex and interesting

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2018-06-18 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (109 votes). Check out past polls.

    Notices?