how do i return something when i've got a long regex and one of the
captures is empty?

$_ = '"435" "" "634";
my ($one, $two, $three)= /^
   "(\d+)"\
   "(\d+)"\
   "(\d+)"
/x;

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to