Actually i am not getting any error i am able to get the output perfectly.
#!/usr/bin/perl print " HELLO \n"; system( " which ls ");
OUTPUT
HELLO /bin/ls
In reply to Re: getting a problem when I use which command with system function
by msk_0984
in thread getting a problem when I use which command with system function
by greatshots
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |