blax has asked for the wisdom of the Perl Monks concerning the following question:
Which is working out just fine. If there is not a strlen like function, is there a better way to do it?my $string = "2002023884ks293jjksd" for ($x = 0; $string =~ /(.)/g; $x++) { ; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: strlen like function in perl
by wog (Curate) on Dec 18, 2001 at 01:48 UTC | |
Re: strlen like function in perl
by andye (Curate) on Dec 18, 2001 at 01:55 UTC | |
Re: strlen like function in perl
by Ven'Tatsu (Deacon) on Dec 18, 2001 at 01:49 UTC | |
Re: strlen like function in perl
by Lucky (Scribe) on Dec 18, 2001 at 16:28 UTC |