On Jul 31, Jeff 'japhy/Marillion' Pinyan said: >On Jul 31, Jeff 'japhy/Marillion' Pinyan said: > >>Could someone lend me a hand in turning an expression (or specifically, >>the OP representing it) into an anonymous subroutine? > >Gah! > >- LISTOP (0x81a8078) list >- OP (0x81a7ec0) pushmark >- SVOP (0x81a8038) const PV (0x81e3bc8) "this" >- SVOP (0x81a8058) const PV (0x81e3bd4) "is" >- SVOP (0x81a7ee0) const PV (0x81e3be0) "cool" > >+ SVOP (0x81ca9c0) const PV (0x81e3c28) "this" >+ SVOP (0x81ca9f0) const PV (0x81e3c34) "is" >+ SVOP (0x81caa68) const PV (0x81e3c40) "cool" > >That's what's wrong... I need to remove that LISTOP and OP it seems... Which I have no idea how to do. I have to manually engineer what LSTOPSUB does in perly.y. I'm at a loss. If we really want to be able to have my_function EXPR, LIST; to "work", someone else will have to figure it out, or at least give me some assistance. Other than that, I'm starting work on the prototype munging. -- Jeff "japhy" Pinyan japhy@pobox.com http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 **Thread Previous