Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Importing modules from a par file fails.

by Anonymous Monk
on Jun 01, 2012 at 09:15 UTC ( #973712=note: print w/ replies, xml ) Need Help??


in reply to Re: Importing modules from a par file fails.
in thread Importing modules from a par file fails.

:) I appreciate that marto, but

$ perl -e " use PAR 'a.par' use Win32::GuiTest; " "use" not allowed in expression at -e line 1, near "'a.par' " syntax error at -e line 1, near "'a.par' use Win32::GuiTest" Execution of -e aborted due to compilation errors.


Comment on Re^2: Importing modules from a par file fails.
Download Code
Re^3: Importing modules from a par file fails.
by johngg (Abbot) on Jun 01, 2012 at 13:54 UTC
    $ perl -e " use PAR 'a.par' use Win32::GuiTest; "

    You should note that use PAR 'a.par' and use Win32::GuiTest are two separate statements and should therefore be separated by a semi-colon, the omission of which is causing your syntax error.

    Cheers,

    JohnGG

Re^3: Importing modules from a par file fails.
by marto (Chancellor) on Jun 01, 2012 at 15:07 UTC

    ":) I appreciate that marto"

    I don't think you do, since you've not tried the change I suggested.

      I don't think you do, since you've not tried the change I suggested.

      Um, I'm not the OP, I'm the first answer Re: Importing modules from a par file fails.

      The OP quotes you an error message, and its not the error message a missing semicolon would cause, the error message I showed you -- the change you suggested is irrelevant, the OP is not having that problem

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2014-07-25 12:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (171 votes), past polls