or
my ($key, $val) = 'MYKEY=MYVAL=2' =~ /^([^=]*)=(.*)/s; [download]
In reply to Re^3: split command by ikegami in thread split command by redss