Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: I need to export variable as another user

by Ratazong (Prior)
on Aug 06, 2012 at 12:19 UTC ( #985685=note: print w/ replies, xml ) Need Help??

in reply to I need to export variable as another user

Have a look at the first error-message:

Bareword found where operator expected at line 12, near +"print " PATH" (Might be a runaway multi-line "" string starting on line 7)
I suppose the following is line 7, as the closing " is missing:
my $bash_profile_run = system(". /home/mrdemo1/pig_profile_tmp);
HTH, Rata

Comment on Re: I need to export variable as another user
Select or Download Code
Replies are listed 'Best First'.
Re^2: I need to export variable as another user
by rahulruns (Beadle) on Aug 06, 2012 at 12:23 UTC

    Corrected the error but still not getting output

    output /home/mrdemo1/pig.jar excite.log.bz2 pig_1344241951706.log pig_1344244494512.log p +ig_1344245634547.log pig.jar script1-local-results.txt +tutorial.jar excite-small.log pig_1344243339709.log pig_1344245480551.log p +ig_1344246062938.log script1-hadoop.pig script2-hadoop.pig pig_1344241663743.log pig_1344243831809.log pig_1344245595053.log p +ig_1344246760544.log script1-local.pig script2-local.pig PATH IS and

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2015-12-01 17:02 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (21 votes), past polls