Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Generally the same way it is done in most languages. With the 'length' command.
ex: #!/usr/bin/perl $text = "I like Pie"; $textLength = length($text); print $textLength . "\n"; This returns 10. Simple as Pie! mmmm, pie..... The beatings will continue until morale raises. In reply to Re: Counting Characters
by Macphisto
|
|