id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,lang,patch,platform
1168,PMC to Float conversion not working as documented,jkeenan,,"Here are lines 1101-1104 of ''docs/book/pir/ch04_variables.pod'':
{{{
  $P1 = box ""5 birds""
  $S1 = $P1           # the string ""5 birds""
  $I1 = $P1           # the integer 5
  $N1 = $P1           # the number 5.0
}}}
On the basis of the comments, if I were to `say` each of the 4 variables receiving assignment, I would expect the output to be:
{{{
5 birds
5 birds
5
5.0
}}}
This is not the case.
{{{
[study] 511 $ cat 5birds.pir 
.sub main :main
    $P1 = box ""5 birds""
    $S1 = $P1
    $I1 = $P1
    $N1 = $P1
    say $P1
    say $S1
    say $I1
    say $N1
.end
[study] 512 $ ./parrot 5birds.pir 
5 birds
5 birds
5
0
}}}
Is this merely a documentation error?  Or is it something more serious?

Thank you very much.

kid51 (working his way thru the PIR book)",bug,new,normal,,core,1.7.0,medium,,,jonathan dukeleto NotFound,,,
