perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kobyakovskiy ...@dinos.net>
Subject Re: RFC: - in XMLSubs tag names
Date Wed, 02 Apr 2003 18:00:53 GMT
I agree. :)

PS: Very nice about '-rf' file name. I didn't hear about it before. :)

В сообщении от 2 Апрель 2003 20:53 Fagyal, Csongor написал(a):
> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message