develooper Front page | perl.beginners | Postings from March 2002

reading one character at a time

Thread Next
From:
richard noel fell
Date:
March 4, 2002 01:24
Subject:
reading one character at a time
Message ID:
3C82DBD3.B5236984@rcn.com
Is there a perl function that reads one character at a time from a
string and and returns that character? Something like the following:
$Line = some string;
foreach ($Line){
$char=read_char($_);}

Thanks,
Dick Fell

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About