Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- How does a scalar know what it is?
July 24, 2005, 6:16 am
rate this thread
Re: How does a scalar know what it is?
The docs that ship with the perl distribution are to Perl what
K&R is to C.
The first sentence of:
perldoc -f print
says "Prints a string or a list of strings."
So all arguments to print() are strings.
Perl must then use the string value of the variable.
Tad McClellan SGML consulting
email@example.com Perl programming
Fort Worth, Texas
- Tassilo v. Parseval
July 27, 2005, 11:06 am
- » FAQ 5.38 Why do I get weird spaces when I print an array of lines?
- — Previous thread in » PERL Discussions