Palit, Nilanjan said:
>> ~~$> perl -e '$x=1; $y=$x+++1; print "x=$x, y=$y\n"'

>Bummer. I just got a ding on your interview.
>How do you parse $x+++1 ?

$y=$x+++1

is

$x+1
$y=$x
$x++

I believe.

If that's what you mean by parse. :-)

-John

___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.


 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to