projects
/
scpubgit/HTML-String.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
initial import of HTML::String
[scpubgit/HTML-String.git]
/
lib
/
HTML
/
String
/
Overload.pm
1
package HTML::String::Overload;
2
3
use strictures 1;
4
use HTML::String;
5
use B::Hooks::EndOfScope;
6
use overload '';
7
8
sub import {
9
overload::constant q => \&html;
10
on_scope_end {
11
overload::remove_constant('q');
12
}
13
}
14
15
1;