Results 1 to 3 of 3
\r\n \r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n Hi All,
\r\n
\r\nWhen using: perl -MDate::Parse in a one-liner, it works perfectly fine, but when I specify: use Date::Parse; in a perl script, I get a Can\'t locate Date/Parse.pm error. Am I missing something here? Or, am I calling a completely different module via the command line?
\r\n
\r\nThanks for the help!
\r\n
\r\n-Kas
\r\n
\r\n
\r\n\r\n \r\n\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n'; pd[6617320] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #2\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n athensy is offline\r\n\r\n \r\n \r\n Registered User\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Feb 2004
    \r\n \r\n \r\n
    Posts
    30
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n \r\n\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n Check the value of @INC by printing it out. If it doesn\'t contain the Perl library path, you could add it as follows:
    \r\n
    \r\npush @INC, <your perl lib path>
    \r\n
    \r\nHope this help.
    \r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n
    \r\n \r\n Last edited by athensy; 04-30-14 at 10:21.\r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[6642452] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #3\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n bagusbiz is offline\r\n\r\n \r\n \r\n Registered User\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Aug 2015
    \r\n
    Location
    Jakarta
    \r\n \r\n
    Posts
    9
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n Quote Originally Posted by athensy\r\n View Post\r\n
    \r\n
    Check the value of @INC by printing it out. If it doesn\'t contain the Perl library path, you could add it as follows:
    \n
    \npush @INC, <your perl lib path>
    \n
    \nHope this help.
    \r\n \r\n
    \r\n
    \r\n

    \nkasparaitis7 are this answer help you ??
    \r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; // next/previous post info pn[6612475] = "6642452,6617320"; pn[0] = ",6612475"; pn[6617320] = "6612475,6642452"; pn[6642452] = "6617320,6612475"; // cached usernames pu[0] = guestphrase; pu[336341] = "kasparaitis7"; pu[58856] = "athensy"; pu[358983] = "bagusbiz"; // -->

    Threaded View

    1. #1
      Join Date
      Nov 2013
      Posts
      6

      Unanswered: Perl module question

      Hi All,

      When using: perl -MDate::Parse in a one-liner, it works perfectly fine, but when I specify: use Date::Parse; in a perl script, I get a Can't locate Date/Parse.pm error. Am I missing something here? Or, am I calling a completely different module via the command line?

      Thanks for the help!

      -Kas

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •