Help for this page

Select Code to Download


  1. or download this
        $ID =~ s/.//s;   # No s modifier needed if the first char won't be
    + a newline
    
  2. or download this
        substr ($ID, 0, 1) = "";  # Or substr $ID, 0, 1, "";
    
  3. or download this
        $ID = reverse $ID;
        chop $ID;
        $ID = reverse $ID;
    
  4. or download this
        $ID =~ /./s;
        $ID = $';