haswalt has asked for the wisdom of the Perl Monks concerning the following question:
I have a script extracting all post data from the client into a hash.
This hash contains a key value pair which i check to work out whether to perform a subroutine or not.
When i check the value it fails since the string i get isn't what i expected.
Now when printing to my log file i tried putting some carachters around the hash value ("|") to check it's value.
my log prints like this "time: value posted to subroutine"
for some reason my log shows "|79592858: COMPLETE = |postComplete".
So it appearc that the pipe is being put at the beginning of the line by the hash, I have no idea why?
any help would be great
thanks
Harry
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: printing hash
by blazar (Canon) on May 19, 2007 at 17:50 UTC | |
|
Re: printing hash
by kyle (Abbot) on May 19, 2007 at 16:54 UTC | |
|
Re: printing hash
by imp (Priest) on May 19, 2007 at 16:54 UTC | |
|
Re: printing hash
by hesco (Deacon) on May 20, 2007 at 07:34 UTC |