Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
thx.. that works, but I don't understand 'why'.. how does the compiler know NOT to require the Win32 module in this case, but in my existing source, with no explicit use statement it does?

anyhow.. now I have the same problem with TieRegistry <code> use Win32::TieRegistry; $Registry->Open(keyname);

the doc says 'new(keyname)' should work, and then there are a bunch of functions off the handle..

but I get Autoload is deprecated. or open not found.

then must be some easy, clear way to handle this. without having to know the internals of every package.


In reply to Re^4: dynamic loading modules by sdetweil
in thread dynamic loading modules by sdetweil

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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    [msh210]: doesn't append anything.
    [msh210]: It should say "If the last nonempty element of LIST" or "If the string thus to be printed does not end in a newline""
    [msh210]: Am I wrong?
    [shmem]: no. You're right.
    [msh210]: About time... last time I was right was... I don't even remember when.
    [shmem]: perl -e 'warn "test$/", ^@^ '
    [Eily]: well, at least it's right about warn doing the same thing as die :)
    [shmem]: same with undef as last element
    [msh210]: oh, good point. It's the best kind of correct
    [shmem]: msh210: but I'd not call it a lie outright. That's when you do know the truth.

    How do I use this? | Other CB clients
    Other Users?
    Others meditating upon the Monastery: (16)
    As of 2017-04-24 12:43 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      I'm a fool:











      Results (439 votes). Check out past polls.