Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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
Replies are listed 'Best First'.
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 (Bishop) 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 rifling through the Monastery: (12)
As of 2015-07-29 22:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls