On 13 Oct 2007, at 22:52, Bill Ward wrote:
CGI.pm has code to do URI and HTML escaping.
DBI/DBD modules take care of SQL escaping.
Any other type of escaping is probably already taken care of by some
other module for that application.
Now, if your module just acts as a sort of clearing house
On Sat, Oct 13, 2007 at 11:18:44AM +0100, Andy Armstrong wrote:
} On 12 Oct 2007, at 17:59, Darren Chamberlain wrote:
} I'm not sure how to do this without adding it to the core or using a
} source filter.
}
} Does constant overloading allow you to see the string early enough?
You see the string
On 13 Oct 2007, at 21:21, josh wrote:
You see the string at compile-time. If you wish to extend the effect
into runtime then your result is an object which further propagates
the effect until stringify is called.
Regexp::NamedCaptures uses both of these techniques.
Mmmm. That's fun, thanks.
On 10/10/07, Andy Armstrong [EMAIL PROTECTED] wrote:
Here's something I've been mulling for probably about eight years
without doing anything about it.
Particularly in web applications - but in other areas too - people
regularly make a complete mess of escaping / unescaping strings. [...]
* Andy Armstrong [EMAIL PROTECTED] [2007-10-10 22:45]:
Nice email address. :-P
This evening I started playing with String::Smart (the name is
as provisional as everything else).
Something with “language”, “type”, “quoting” or “escaping” would
be more appropriate I think.
In general a
On 11 Oct 2007, at 11:46, A. Pagaltzis wrote:
* Andy Armstrong [EMAIL PROTECTED] [2007-10-10 22:45]:
Nice email address. :-P
It had to be done :)
This evening I started playing with String::Smart (the name is
as provisional as everything else).
Something with “language”, “type”, “quoting”
Here's something I've been mulling for probably about eight years
without doing anything about it.
Particularly in web applications - but in other areas too - people
regularly make a complete mess of escaping / unescaping strings. At
different times a string may need to be
* unescaped
Here's something I've been mulling for probably about eight years
without doing anything about it.
Particularly in web applications - but in other areas too - people
regularly make a complete mess of escaping / unescaping strings. At
different times a string may need to be
* unescaped
On Wed, Oct 10, 2007 at 09:41:21PM +0100, Andy Armstrong wrote:
} Here's something I've been mulling for probably about eight years
} without doing anything about it.
You should look at Mark P Sullivan's lightning talk on this at
YAPC::NA
2007.