Go Back   The Optiquest Forums > Programming & Related > Perl Help
User Name
Password

Reply
 
Thread Tools
  #1  
Old 06-02-2007, 05:53 PM
Vergotha's Avatar
Vergotha Vergotha is offline
Registered User
 
Join Date: Nov 2001
Posts: 92
Rep Power: 9
Vergotha is on a distinguished road

My Mood:
Question Perl issue with scripts.

Wow. Am I the ONLY person who requests help on this area of the board?

Alright, let's get on with this. I PM'd Webdude about this, but the Demiurge of the Servers has been silent to by pleas. So I post this to anyone who can answer.

I have been doing all my hashes as $hash{'key'}, such as $formdata{'email_address'}. Now, suddenly the majority of my scripts ceased functioning. At first, I was convinced my gateway to the Perl interpreter was screwy or something. Then I narrowed it down; it's only scripts calling on hashes. The only solution was to drop the single-quotes on the key-values. That is, change it on the script to $formdata{email_address}.

Now, being the self-taught person I am, this goes against every resource I've read, including free scripts from online. Normally, I'd just shrug and do everything in PHP, but this pet project of mine is done in Perl for... well... grins and giggles. I don't mind coding in Perl, and I kind of like it.

What I want to know is, has anyone else run into this problem? Is this going to screw me over again if the system mystically goes back to the old way of reading hash values? Because, between you and me, kids, I'm really tired of relearning the quirks of this place everytime there's a major server reset.

If someone could get back to me, that'd be great.


Vergotha's Sig:~Me

The problem with life is that too many people try too hard at living it.
Reply With Quote
  #2  
Old 06-02-2007, 09:25 PM
Vergotha's Avatar
Vergotha Vergotha is offline
Registered User
 
Join Date: Nov 2001
Posts: 92
Rep Power: 9
Vergotha is on a distinguished road

My Mood:
Nix that. I think the problem is with my FTP client. Double-checked my scripts and they work as advertised again, but only if I use my old FTP app. ::sigh::

I tell ya. If it's not one thing, it's another.


Vergotha's Sig:~Me

The problem with life is that too many people try too hard at living it.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Issue Resolved] cgi-scripts help Ecaep Virtual Hosting Support 9 10-18-2005 06:18 AM
Accessing MySQL from Perl scripts gurfel Virtual Hosting Support 7 08-17-2004 05:52 PM
[Issue Resolved] Can't Get Scripts To Work Davey Virtual Hosting Support 5 03-13-2004 01:17 PM
[Issue Resolved] Cgi Scripts Not working SeNtOr5 Virtual Hosting Support 13 03-29-2003 02:57 PM
Is our Perl path still #!/usr/local/bin/perl? Allan Virtual Hosting Support 2 12-03-2001 02:51 PM


All times are GMT -5. The time now is 02:02 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

All Images, Optiquest & OISHost Names ©2007 Optiquest Internet Services