CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
hash hell

 



ultimategamer2k
User

May 17, 2001, 3:59 PM

Post #1 of 4 (670 views)
hash hell Can't Post

i have this

%affiliates = ("affurl1" => "$affiliateurl1",
"affurl2" => "$affiliateurl2",
"affurl3" => "$affiliateurl3",
"affurl4" => "$affiliateurl4",
"affurl5" => "$affiliateurl5");
and when i put this

print values(%affiliates);

i get this

$affiliateurl1$affiliateurl2$affiliateurl3$affiliateurl4$affiliateurl5
shouldnt i get whatever $affiliateurl1, $affiliateurl2 ... are?
-------------------------------------------------------------
visit my web site at <a href=http://ultimategamer.cjb.net>here</a>

(This post was edited by ultimategamer2k on May 17, 2001, 3:08 PM)


Mortimer
journeyman

May 17, 2001, 4:43 PM

Post #2 of 4 (663 views)
Re: hash hell [In reply to] Can't Post

I copy/pasted your code, and it works okay for me. (And you can lose the quotes for lonely scalar variables).

Dave.



AICapone
Deleted

May 17, 2001, 6:39 PM

Post #3 of 4 (654 views)
Re: hash hell [In reply to] Can't Post

I wish I could help...but ...it works fine for me, sorry.

P.S. you might try to leave quotes though...




ultimategamer2k
User

May 17, 2001, 6:44 PM

Post #4 of 4 (655 views)
Re: hash hell [In reply to] Can't Post

thanks man, i just had the path to my file wrong
OOPS!!! i hate it when you dont see those little things

-------------------------------------------------------------
visit my web site at <a href=http://ultimategamer.cjb.net>here</a>

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives