Help for this page

Select Code to Download


  1. or download this
     
    my ($x, $y, $z) = ('', '', '');
    ($x, $y, $z) = split(',', $_);
    
  2. or download this
    my ($x, $y, $z) = map { $_ || '' } split(',', $_);
    
  3. or download this
    use strict;
    use warnings;
    ...
    x = a
    y = 0
    z = b