in reply to Regular Expression: search and replace

Consider using a hash: perldata
  • Comment on Re: Regular Expression: search and replace

Replies are listed 'Best First'.
Re^2: Regular Expression: search and replace
by sprkling (Initiate) on Oct 11, 2013 at 14:52 UTC
    Thanks. I ended up just using an array as the index stars from 0 to 9 for this simple problem.