develooper Front page | perl.perl5.porters | Postings from September 2013

Re: [perl #119251] [PATCH] Enhancement request - a prototype attribute

Thread Previous | Thread Next
Peter Martini
September 30, 2013 06:31
Re: [perl #119251] [PATCH] Enhancement request - a prototype attribute
Message ID:
The last issues I'd noted were removing the '*' from a GV if it hits
the attributes module, which the last version of the attributes patch
did (,
and not crashing on a syntax error.  The attached patch fixes the
crashing on syntax error part by not calling move_proto_attr if there
were any errors compiling the sub, as that's the only case (right?)
where there would not be a name.

(And I did look into a cv_name function, but I'm not sure where the
best place to put it would be).

It's late, so I may be overlooking things.  If I forgot something
obvious, sorry, just wanted to get the ball rolling again!

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About