Help for this page

Select Code to Download


  1. or download this
    ## turn (unless id contains one or more digits only)
    return qq(bad id "$id"\n) unless $id =~ /^\d+$/;
    ## into (if id contains non-digits)
    return qq(bad id "$id"\n) if $id =~ /\D/;
    
  2. or download this
    .