Help for this page

Select Code to Download


  1. or download this
    use Scalar::Util qw( looks_like_number );
    
    ...
    die("Invalid character name \"$char\". "
       ."It must only contain letters [a-z])\n")
        if $char !~ /^[a-zA-Z]+\z/;