How to figure out Size of Var.

2005-03-11 Thread Bastian Angerstein
How can I figure out how many chars are stored in a variable? Or how can I determit the length of a string in a variable? this methode is a little poor: @array = split //, $var; $size = scalar (@array); Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: How to figure out Size of Var.

2005-03-11 Thread Manav Mathur
See perldoc -f length Manav -Original Message- From: Bastian Angerstein [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 2005 1:36 PM To: beginners@perl.org Subject: How to figure out Size of Var. How can I figure out how many chars are stored in a variable? Or how can I determit