perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fagyal, Csongor" <conc...@conceptonline.hu>
Subject Re: RFC: - in XMLSubs tag names
Date Wed, 02 Apr 2003 17:53:58 GMT
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: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message