You can, and it's a good thing to know sometimes, but in this case it'll cause strange things to happen if there's more than one = on a line. Your original suggestion was better, perhaps with the enhancement of giving the split a limit, e.g. split /\s*=\s*/, $_, 2.
In reply to Re^4: why aren't I see the hash while using dump?
by Anonymous Monk
in thread why aren't I see the hash while using dump?
by perlynewby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |