logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

RE: [Boston.pm] Perl popularity and interview questions: msg#00177

Subject: RE: [Boston.pm] Perl popularity and interview questions

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.


<Prev in Thread] Current Thread [Next in Thread>