Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^6: somethign wrong with the sumbit

by Nik (Initiate)
on Jan 07, 2008 at 15:49 UTC ( [id://660855]=note: print w/replies, xml ) Need Help??


in reply to Re^5: somethign wrong with the sumbit
in thread somethign wrong with the sumbit

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^7: somethign wrong with the sumbit
by marto (Cardinal) on Jan 07, 2008 at 16:02 UTC
    "AS I HAVE TOLD YOU IN MY PREVIOUS POST THE PROBLEM IS SOLVED BY ME DOING SOMETHING ELSE, DID YOU EVEN READ IT?"

    Nik, I find it hard to believe you posted this, since you are one of the worst repeat offenders of this behaviour we have around here. Also thanks for ignoring some of the points I raised here, this over use of capital letters looks great.

    Martin
Re^7: somethign wrong with the sumbit
by graff (Chancellor) on Jan 07, 2008 at 19:50 UTC
    You say "to create a new utf8 string by decoding the value returned by "param('select')" but instead of using decode() you used encode().

    You are right -- I was clearly wrong there, I should have known better and should have been more careful. I apologize.

    DID YOU EVEN READ IT? AND IF YOU DID HOW YOU EXPLAIN IT?

    I tried to read it, but so much of it made so little sense and was frankly erroneous. The only explanation I can imagine is that the code actually working on your website now is not the same as the code you posted. For example, when you get to this line:

    unless ( grep /^\Q$_\E$/, @menu_files )
    $_ has not actually been set to anything in particular. I guess you just left out the part where you assign something to $_. And then this other thing was probably just a typo when you posted (can you spot the mistake?) -- or else it has no effect at all on the ultimate result:
    for ($data) { #Replace special chars like single & double quotes to i +ts literally values s/\n/\\n/g; s/'/\\'/g; s/"/\"/g; tr/\cM//d; }
    When you can figure out how to post your code correctly, without silly mistakes like this, you'll get a better quality of response (and other monks will be less critical of your posts).

    No matter. I'm happy for you that you have something working -- really. (But personally, I would get rid of the "char-by-char.js" display approach; it's way too slow for the amount of text in each file.)

    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://660855]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-26 05:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found