There are many ways to do so, and the solution (of course) depends on your requirements. Based on your example, try the following approach:
Of course you can optimize. And probably you have to adapt the algorithm - but I hope it gives you an idea!
RataIn reply to Re: making a text file to an hash array
by Ratazong
in thread making a text file to an hash array
by changma_ha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |