# New Ticket Created by  Minimiscience 
# Please include the string:  [perl #67662]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=67662 >


Rakudo does not recognize POD variables of the form $=podSection.  As  
an example, the following program fails with the message "Symbol  
'$=miscData' not predeclared":

     #!/usr/bin/env perl6
     use v6;

     =begin miscData
     You are in a maze of twisty little passages, all different.
     You are in a little maze of twisting passages, all different.
     You are in a maze of twisting little passages, all different.
     You are in a little maze of twisty passages, all different.
     You are in a twisting maze of little passages, all different.
     You are in a twisting little maze of passages, all different.
     You are in a twisty little maze of passages, all different.
     You are in a twisty maze of little passages, all different.
     You are in a little twisty maze of passages, all different.
     You are in a maze of little twisting passages, all different.
     You are in a maze of little twisty passages, all different.
     =end miscData

     .say for $=miscData.lines;

If $=miscData is predeclared with "our $=miscData;" (which I don't  
think should be necessary), Rakudo will still not initialize it with  
any POD-related data.  The problem also occurs if "miscData" is  
changed to "DATA", and attempting to access the POD section via  
"%=POD<miscData>" does not work either, as %=POD is also not declared.

This problem was observed on Rakudo Perl #18 ("Pittsburgh") with  
revision 39599 of Parrot on Mac OS X 10.5.6.

Reply via email to