Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (15 sloc) 0.403 kB
#!/usr/bin/perl
# Copyright 2006-2015, Paul Johnson (paul@pjcj.net)
# This software is free. It is licensed under the same terms as Perl itself.
# The latest version of this software should be available from my homepage:
# http://www.pjcj.net
package Foo;
use overload
'""' => sub { shift->render},
bool => sub { die; 1 };
sub render {
"foo";
}
my $foo = 1;
bless {}, 'Foo' if $foo;
1;
Jump to Line
Something went wrong with that request. Please try again.