in reply to Re^2: Java to perl conversion
in thread Java to perl conversion

Most likely, you will want to use either an array, and put the string there (split), or just use a string and substr to access the characters within the string.

Arrays and strings are not sized in Perl.