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: Intermediate:
Post deleted by mkeith123

 

First page Previous page 1 2 Next page Last page  View All


KevinR
Veteran


Apr 13, 2008, 10:33 AM

Post #26 of 30 (1642 views)
Re: [mkeith123] loop [In reply to] Can't Post

Miie, you say you get a blank screen, that is because the script doesn't print anything to the screen, all results are printed to the file Comparison.txt. Are you saying the file is blank?

When I run the script with the input file I get output in the Comparison.txt file like this:

key = 729846, value = 4
key = 504620, value = 2
key = 1181170, value = 3
key = 2078679, value = 5
key = 2238063, value = 3
key = 14756, value = 4
-------------------------------------------------


(This post was edited by KevinR on Apr 13, 2008, 10:33 AM)


mkeith123
Novice

Apr 13, 2008, 4:15 PM

Post #27 of 30 (1640 views)
Post deleted by mkeith123 [In reply to]

 


KevinR
Veteran


Apr 14, 2008, 8:34 AM

Post #28 of 30 (1633 views)
Re: [mkeith123] loop [In reply to] Can't Post

I don't know why that is. The file Comparison.txt should be in the same directory as the script and as far as I can tell should have data written to it like I showed. Try using a full path instead of just the filename.
-------------------------------------------------


mkeith123
Novice

Apr 14, 2008, 2:44 PM

Post #29 of 30 (1624 views)
Post deleted by mkeith123 [In reply to]

 


KevinR
Veteran


Apr 14, 2008, 6:51 PM

Post #30 of 30 (1619 views)
Re: [mkeith123] loop [In reply to] Can't Post

Mike, it looks like it should work. You are not using Unix or Linux so it should not be a problem of permissions. It works fine for me when I tested the exact code and file you attached.
-------------------------------------------------

First page Previous page 1 2 Next page Last page  View All
 
 


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

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