Hi,
In case if u r using system() function inside ur
perl script u cant get the path bcoz. system function
returns the return status of your shell command. If
the command is successful it returns a zero otherwise
a nonzero value. U should execute the command using
`(back tick) like this,
$filepaths = `fine /user/prakash -name "ad*"`.
the above command will redirect the output of the
shell command into the variable.
Hope this helps.
Regards,
Prakash.
--- Elanchezhian Sivanandam <elan@xxxxxxxxxxxx>
wrote: > hi,
file
i want to find the hierarchial path of a
inside a perl script.command
the path can be found using the shell
find [path] expression..
and assign to a variable in perl.
but it gives me a numerical value.
how to get it as a string?
thanks in advance.
--
cheers../elan
visit www.tamil.net for tamil fonts
_______________________________________________
To unsubscribe, email
ilugc-request@xxxxxxxxxxxxxxxxxx with
"unsubscribe <password> address"
in the subject or body of the message.
http://www.aero.iitm.ernet.in/mailman/listinfo/ilugc