code_junkie

How do I get the length of a string in Perl?

Nov 11th, 2011
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. print "foo" =~ y===c; # prints 3
  2.  
  3. print "foo" =~ y===c; # prints 3
  4.  
  5. length($string)
Add Comment
Please, Sign In to add comment