in reply to Re: Removing the first character from a variable
in thread Removing the first character from a variable
or$ID =~ s/.//s; # No s modifier needed if the first char won't be + a newline
Of course, there are sillier ways:substr ($ID, 0, 1) = ""; # Or substr $ID, 0, 1, "";
or$ID = reverse $ID; chop $ID; $ID = reverse $ID;
$ID =~ /./s; $ID = $';
-- Abigail
|
|---|