in reply to
Printing First n Characters of a Scalar
substr $scalar, 0, $n
[download]
-b
Comment on
Re: Printing First n Characters of a Scalar
Download
Code
In Section
Seekers of Perl Wisdom