in reply to Re^5: "Attempt to free unreferenced scalar" and "Scalars leaked: 1" ?
in thread "Attempt to free unreferenced scalar" and "Scalars leaked: 1" ?


Wow, you must be a GURU:)
I really learned a lot! THANKS A MILLINION!

Another thing just came to my mind, it makes more sense to give PATH to module. So, we will have a PATH/modulename. "require" can handle a path, right? what about Module::Load, it seems to me there's ssome difference but not very clear ... Thanks!

  • Comment on Re^6: "Attempt to free unreferenced scalar" and "Scalars leaked: 1" ?

Replies are listed 'Best First'.
Re^7: "Attempt to free unreferenced scalar" and "Scalars leaked: 1" ?
by BrowserUk (Patriarch) on Apr 01, 2007 at 10:06 UTC
    "require" can handle a path, right? what about Module::Load,

    Yes, require can handle the path. Whether absolute or relative to the preloaded paths in @inc. But remember that you'll have to strip it before building the module::subroutine name.

    I've no idea about Module::Load. I'm assuming that this is a cpan module, but I've never used it.

    As for my being a guru--I'm not.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

      This really clarifies alot of doubts I had. I think I need a perl bible book and explore it with experiments, a lot to learn ...


      Thanks again for your great help!