$str =~ s/^(\d+)// or die "missing digits in front of $str\n"; $data_hash{$1} = $str;
In reply to Re: Removing digits until you see | in a string
by ysth
in thread Removing digits until you see | in a string
by kevyt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |