Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

I need a Hero [ a perl scripting expert kinda hero]

May 9, 2007 9:47AM PDT

Greetings to all! I have been working for 5 or 6 days trying to figure out why my perl script does not work on my web site. I think it is a fairly straightforward config.pl page but I know NOTHING about scripting. I use Adobe for all the things I do. I even tried downloading activeperl to see if it would tell me what was wrong but I cannot use it because it appears to involve using a command prompt >

A gentleman wrote the script and has made it available to people for free. It searches a data base that I have on my web site and shows the results. This much I know: My data base is in the right directory on my site and the address on my web host that runs or reads - or whatever - perl scripting is in the correct place. I know the database is correct and has been uploaded correctly, the permissions are correct and it is in the right code - binary or the other thing "askee" AC????.

There are 5 perl files but the only one I had to make changes to is the "config.pl" file. I don't know if my web host has "socket" but it has SSL [is that the same thing?].

My web host is iPower and they seem to have everything one normally needs to do a web site with the different types of scripting.

I modifed the files using "notes" and uploaded the pl and database files using CuteFtp. The first time

There are other web sites using this and it works for them.

I hope hoping someone can take a look at the config file and see if there is anything obviously wrong with the changes I made to the config file. I have to warn you though that I do not understand even the jargon for perl.

I have a dell laptop inspiron, hughes satellite ISP, iPower web host, 512 proc, lots of saving space, using windows xp on my pc but I think my web host has Unix.

If anyone can help you will truly be my hero!!

Mary

Discussion is locked

- Collapse -
Sorry, I don't know anything about Pearl
May 9, 2007 11:21AM PDT
- Collapse -
That did not work but found a Perl checker
May 9, 2007 11:51AM PDT
- Collapse -
May be I can help you
Jul 16, 2007 6:15AM PDT

I'm not a perl hero... Wink... but I worked a lot with Perl, web servers and Linux.

If you are trying to learn Perl I can suggest a couple of tutorials, good URLs and books.

If you want to solve this particular problem, we can talk and you can show me the code and i can help you.
If you want to contact me, my mail is jpejobs at gmail dot com. Write me or post your mail and i write to you.


BTW, with ActivePerl you can run perl scripts in Windows... the only command prompt you can need is 'cmd', and execute 'perl yourscript.pl'... but you can configure Windows to asociate perl scripts with perl and run with just a double click, this URL explains how to do it:
http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/faq/Windows/ActivePerl-Winfaq4.html#How_do_I_associate_Perl_scripts_

I recomend you the first, from the command prompt, so you can see the standard output and the errors.


Cheers,
JP