In perl you don't need to force anything to be a number. Use it like a number and it will behave like a number, use it like a string and it will behave like a string.
print "1 + " . 1 . " = " , eval ( "1 + " . 1 );
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: Re: Re: When is not necessarily
by tachyon
in thread When is not necessarily
by melguin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |