Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^14: can't import using exporter

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


in reply to Re^13: 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^15: can't import using exporter
by Corion (Patriarch) on Mar 17, 2012 at 00:57 UTC

    I'm sorry - English is not my first language, nor my second or third, so I'm not necessarily familiar with all the colloquialisms. I know of the phrase "flogging a dead horse", but I'm unaware of the meaning of "beating a dead cow". Is this cockney slang for some sexual activity? It is maybe a bit telling, but my knowledge of the English language is mostly restricted to phrases that occur in polite conversation. I'm happy that you try to contribute back by helping me widen my vocabulary, but maybe you can explain in simple words what this phrase is supposed to express.

    As for the parts more closely related to Perl - it might not have been an explicit lesson by either merlyn or brian d foy, but neither Perl nor the authors of Perl modules are restricted to using only words in your dictionary. This fact might have come to your attention already as Perl let you use variable names such as $Filename2Fields instead of $File_name_to_fields. If the author of a module you use documents the name of a function, it is conventional to use that documented name to access that function instead of another name you'd have chosen instead. Perl supports you to modify your code to use the cromulent function names chosen by others, as it advises you when you use a different name for a function that the module author did not name in the same way.

    Of course, you are free to lament these literary disagreements and claim them as "bugs". You can of course write copy-edited Perl-code, but to expect that Perl and Perl authors adhere to your seemingly limited dictionary strikes me as a quite surprising stance, especially as there are quite a lot of Perl module authors who do not share your upbringing nor a copy of your dictionary. If you think that your vocabulary is the be-all end-all epitome of literacy, I recommend you start an initiative to convince all Perl programmers to only use words you approve of in function names and variable names. Until then though, I recommend that you start reading and understanding the error messages Perl so helpfully tries to provide you with, instead of claiming bugs in Perl. Especially reading the documentation of modules, and if in doubt, reading the source code of modules usually brings great enlightenmend as towards the vocabulary that other module authors use and offer to you to use as well.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re^15: can't import using exporter
by chromatic (Archbishop) on Mar 16, 2012 at 22:39 UTC
    the word in the dictionary is spelled notational

    The 500 year old word "notional" means "pertaining to or expressing the idea of". It may be a poor UI choice, but is a valid word.

      I was quite aware it was a word, but it doesn't have the same meaning as notational, which is the notation of X in some specified formation -- in this case module format of a module name.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-03-28 21:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found