in reply to String extraction

substr
my $chr = substr($str,0,1);
ord will do it, too, but returns the ascii value of the first char of the string.

                - Ant
                - Some of my best work - (1 2 3)