Does anyone know why this doesn't do what I expect?

% perl -e '$i="123.52.32.1"; $j=45; $b="$i_".$j*2; print $b, "\n";'
90


I'd like it to print:  123.52.32.1_90

What's going on here?

TIA.

- Bryan




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to