On Thu, Aug 02, 2001 at 06:07:56PM -0500, Duane Morris (rat924) wrote:
> If I create a soft link from command line it works, if I create it from
> a perl script it makes the link, but you cannot do anything with it. 
> get message no such file or directory.

How did you go about verifying that it makes the link?  What does ls -l show
for each of the files?

 
> Here are the two I have tried in my perl scripts:
> 
> $i = "/view/TestView1/ccvobs/50a7/part/02rl55x33.pdf"
> $j ="02rl55x33.pdf";
> 
> `ln -s "$i" "$j"`;
> sysmlink ("$i","$j");

I'm assuming 'sysmlink' is a typo, and not in your actual code.  You neglect
to check the return value of the operation.


Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to