Re: Another problem (sorry ;-) )

[email protected] Fri, 17 Sep 1999 15:11:54 +0100
Newsgroups perl.riscos
Message-ID <[email protected]>


> > opendir (SOH,"."); # you do not need the 's around the soh, and "." is
> > "here" on unix

> So how would I list a subdirectory defined by $soh, ie the hardware or
> software directory?

If $soh contains just a directory name that will work, but remember that "." is
where the script is
run and that "/......" is the system root not the web root, so if $soh starts
with a "/" you will need
to do some surgery on the full name to convert it to an appropriate path.

Hope that helps.

Richard Proctor (Still at work for another hour)