Help for this page

Select Code to Download


  1. or download this
    If LIMIT is omitted (or, equivalently, zero), then it is usually treat
    +ed as if it were instead negative but with the exception that trailin
    +g empty fields are stripped (empty leading fields are always preserve
    +d);
    
  2. or download this
    perl -MData::Dumper -e "$str='foo:bar:'; ($x,@opt)=split /:/,$str,-1;p
    +rint Dumper ($x,\@opt)"
    $VAR1 = 'foo';
    ...
              ''
            ];