I am a beginner...
I have this line in a loop:
It should do the following:
1)grabbing, for each entry, the first 2 carachters
2)replace them with the value of their key
The hash is as follows:
As you can imagine, is just an attempt to replace the unescaped (such
as %20)chars in a query_string. So if a string (once stripped the %
signs )would start:
hallo (with a leading white-space)
Obviously, it doesn't work. Any idea why?
I'd also be interested to know what the pack() method does and how it
works. I noticed some scripts use pack("C",hex($1)) to replace a
pattern match but I refuse to use it unless I have understood why it
works you see... the list of the TEMPLATES is far from being obvious
to my eyes...
The hex() method appears slightly more obvious to my eyes, but not
Please be patient and keep in mind you're dealing with a beginner!
Alberto .·. Vallini
vallinis@... - vallini@...
"Every soul which has acquired any truth, should be safe from harm
until another period." [R.W.Emerson]