while (<>) { chomp; s!\s*/\s*!}{!g; eval "\$h\{$_\} = 1;"; }
In reply to Re^3: Convert delimited string into nested data structure
by educated_foo
in thread Convert delimited string into nested data structure
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |