We don't bite newbies here... much | |
PerlMonks |
Re: [Perl 6] Any provision for a "dereferencing object"?by rootcho (Pilgrim) |
on Jun 01, 2007 at 04:54 UTC ( [id://618641]=note: print w/replies, xml ) | Need Help?? |
hmm.. In perl6 could we have something like this then :) and then access this like : In this case '*' and '//' mean the same thing (just for illustration. regex-like and xpath-like syntax). This should return all 'foo2' element no matter how deep. Or : Return only the second 'foo2'..and so on.. you get the idea. Or this better be done with external module ? This will make very easy implementing XPath and similar tools.
In Section
Meditations
|
|