in reply to Re: Search function not working from CD Rom
in thread Search function not working from CD Rom

Sorry if I did not make it clear. When on the hard disk the files are being opened from the hard disk and when the program is on the cd the files are being opened from the cd. All paths are relative apart from the 1 saying where the temp directory is. The directory structure is identical on the hard disk(well not the whole hard disk, but the relevant parts anyway) to the cd. Regards, Gerard
  • Comment on Re: Re: Search function not working from CD Rom

Replies are listed 'Best First'.
Re: Re: Re: Search function not working from CD Rom
by pfaut (Priest) on Jan 06, 2003 at 00:41 UTC

    It's not something like attempting to open files with write access, is it?

    --- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';
      Ha ha!! Duh. Well, I will have to check, but that sounds about right. Sometimes I make the stupidest mistakes!!!

      Cheers

        The real mistake is doing stuff like:

        open FOO, $file # and not open FOO, $file or die_nice( "Can't open $foo, Perl says $!\n"); sub die_nice { print "Content-Type: text/html\n\n" . shift; }

        If you don't check you errors you waste a lot of time....

        Glad you got it sorted!

        cheers

        tachyon

        s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

      Ha ha!! That'll be it. Duh. Cheers.

      Sleepy time.