Josh Chamas wrote:

Hey,

I would like to allow for - in XMLSubs tag names by converting
them to underscore "_" automatically when converted to perl subroutine names.
dash or "-" is not allowed in perl subroutine names which prevents them
from being used in XMLSubs tag currently.


This would allow for a tag like <my:table-sql /> to be called as &my::table_sql()

Any thoughts? Thanks.

Josh,


Sounds nice, but what if you have both <my:table-sql/> and <my:table_sql> ?
Of course one shouldn't do that :-) "Just don't create a file named '-rf'" (C) Larry Wall


What about converting '-' to '__' ? (That is two '_' -s).

- Cs.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to