--- [EMAIL PROTECTED] wrote:
> Todd,
>     Oh you mean like this:
> --------------------------------
>     my(@pairs) = split('&',$tosplit);

> First, the above code is strait out of CGI.pm sir.  So if you feel that its wrong, 
>you might try
> telling that to the creator of CGI.pm

David,

You have an old version of CGI.pm.  From later versions (this pulled from 2.74):

    my(@pairs) = split(/[&;]/,$tosplit);

Cheers,
Curtis "Ovid" Poe

=====
"Ovid" on http://www.perlmonks.org/
Someone asked me how to count to 10 in Perl:
push@A,$_ for reverse q.e...q.n.;for(@A){$_=unpack(q|c|,$_);@a=split//;
shift@a;shift@a if $a[$[]eq$[;$_=join q||,@a};print $_,$/for reverse @A

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to