Couldn''t be bothered to read perl's error message?

You talking about the misspelling thing again? I fixed that -- it didn't change anything. I'm back to exactly where I was at in response "^4".

I'm able to use 'use' instead of import, which supposedly does all the things you did in your example -- however, I get the same error message I originally got. The vars are still undefined, and Exporter isn't exporting it despite my having a 'use Debug' and Debug listing the var for export.

What does that have to do with overlooking a alliteration problem? Did you miss the fact that I said it didn't work, earlier? and are just still stuck on me getting 1 error message wrong on a subname that is slightly misspelled were 2 letters are leftout , both letters of which are duplicated in the word?

Haven't you studied reading or read the study about how words are processed? pfllple wer able to fixyure out comburtely sparred woods stll get the meaning. Only the start and beginning of the word were of prime importance as in readying the eye catches those first and scans for shapes. It doesn't decipher each letter except in rare situations where you spell out a word -- so words that are spelled similarly are often confused by many people -- let alone technical routine names were someone may have accidently gotten the notion to use that word to describe a routine that is to give you perl's module notation for a given filename. I can either file a bug on it or not. Either way, it didn't solve the base problem of importing the var names.

I've imported them in 5.12 5.10...and before,

Usually a simple alias BEGIN{ *var=\$DEBUG::var}; is what I remember working -- USED it TONS of times.

Now it doesn't work. Ergo. bug in 5.14. You can claim it is a bug in my code somewhere. It may be... But perl ISN'T flagging the error.

Instead, it's claiming that the var I imported into my name space needs a Packagename in front of it. Why? Dunno. Didn't do this before 5.14.

p.s. Curious... was your math degree in the Liberal Arts School? It was at my college -- and they had 2 Computer Science majors -- one associate with Math tending more towards theory, and the other in engineering tending more toward practice (but 90% overlap in the main courses... it was the non-core stuff where things differed.)...Example, in engineering -- we had to take 'drafting' -- never have used that. But the L.A. degree had to take more calculus courses... something else I've never used since graduation...


In reply to Re^18: can't import using exporter by perl-diddler
in thread can't import using exporter by perl-diddler

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.