Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
        say sprintf('%s : >%s<', $label, $str);
    }
    
  2. or download this
    Use of uninitialized value in sprintf at 11130005.pl line 20.
    undef : ><
    ...
            Value "abcde" did not pass type constraint "StrLength[1,4]"
            "StrLength[1,4]" expects length($_) to be between 1 and 4
            length($_) is 5