Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^12: can't import using exporter

by perl-diddler (Chaplain)
on Mar 16, 2012 at 09:01 UTC ( [id://959941]=note: print w/replies, xml ) Need Help??


in reply to Re^11: can't import using exporter
in thread can't import using exporter

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^13: can't import using exporter
by Corion (Patriarch) on Mar 16, 2012 at 10:15 UTC

    As Anonymous Monk already pointed out, your are misreading/mistyping the Module::Runtime documentation and trying to import a function that does not exist. Instead of looking for errors with Perl, maybe consider actually reading the error message and comparing it to the documentation. But as you seem to have a penchant for ignoring replies or not reading them, I will repeat it again:

    Module::Runtime does not export a function named module_notational_filename. It is only documented to export a function named module_notional_filename.

    As for your other "evidence", again, you don't show any code, you still do not seem to have a grasp as to how to debug things. I am not joking about the maximum of 10 lines for a program to demonstrate your extraordinary findings. Please put in the effort to reduce your programs, and consider splitting up the large program of over 800 lines into more manageable modules in separate files. This will not only help you in finding the errors, it will also limit the damage you can do by editing a single file to exactly that file, and keep lots of red herrings out of your mind. Also, this will likely limit the side effects of ill-advised changes or misunderstood documentation to a short and manageable file instead of showing error message in an 800 lines file.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re^13: can't import using exporter
by Anonymous Monk on Mar 16, 2012 at 09:26 UTC

    Like tobyink answered That's because it's called module_notional_filename

    You typed module_notational_filename but didn't copy/paste module_notional_filename

    $ perl -MModule::Runtime=module_notational_filename -e 1 "module_notational_filename" is not exported by the Module::Runtime mo +dule Can't continue after import errors at -e line 0. BEGIN failed--compilation aborted. $ perl -MModule::Runtime=module_notional_filename -e 1
    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-16 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found