my $pig_file = system("ls /home/mrdemo1/pig.jar"); my $bash_profile_run = system(". /home/mrdemo1/pig_profile_tmp);
nonsense, use something like this instead:
my $pig_file = '/home/mrdemo1/pig.jar'; # etc...see also opendir, File::basename and readdir
In reply to Re: I need to export variable as another user
by pvaldes
in thread I need to export variable as another user
by rahulruns
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |