Home: Perl Programming Help: Advanced:
Paths and OBJECTS



sirus4u2c
Novice

Aug 24, 2003, 5:41 PM


Views: 927
Paths and OBJECTS

I am using a perl script with javascript, I have a <OBJECT> bound to a file. When I run the perl script it can not find the path

I have already tried:

'c:\\path\\to\\file';

or:

'c:\\\\path\\\\to\\\\file';

or:

"c:/path/to/file";

but it did not reconise them. I also get a error message somtimes that says "can't be used if object is closed" but if I run the perl script do a view source them put in the \\ between directories then save it as a HTML file and then run that it works fine. But and can't just call a HTML file because I need to pass information to it.

when I debug it it stops on SkillData.Reset() and in the inURL variable it has only 1 slash but the Path has 2. any suggestions would be great thanks

I have uploaded all the files needed to run it. If you run it then do a view source and save it as a HTML then run that it works
Attachments: efindxUP.pl (8.87 KB)
  SubSkills.txt (0.58 KB)
  Skills.txt (0.13 KB)
  upload.htm (4.42 KB)