I guess that the ReadParse is from CGI. If that is the case, multiple values under a key are concatenated together using the ASCII 0 character (NUL Byte):
perl -MCGI -le 'CGI::ReadParse(); print for split /\0/, $in{myname}' \ 'idx=8&args=&myname=ABCD.txt&idx=+&myname=foobar'
Output:
ABCD.txt foobar
In reply to Re: Two values for same variables in %in hash
by shmem
in thread Two values for same variables in %in hash
by himanshu.padmanabhi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |