If the format of the input is as fixed as in case of a passwd file, then splitting on colon makes much more sense, even if one needs to chomp in that case.
In reply to Re^2: Getting rid of a temporary variable in AoH
by hdb
in thread Getting rid of a temporary variable in AoH
by reisinge
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |