|
Python::Object instances automatically stringify as if Python::str() was applied to them. They can also be used naturally in boolean context, or invoked directly if they wrap something callable. $o =~ /.../; print "This is $o\n"; if ($o) { .... } $o->(@args); |
|