| jagerman | You mean e |
| f00li5h | jagerman: presume that was either ascii 3 or a unicode something |
| jagerman | That was a unicode heart |
| f00li5h | jagerman: unicode irssi |
| corporatemonkey | you guys have any idea how to unescape the HTML? |
| f00li5h | neat. |
| jagerman | \x2665 |
| f00li5h | corporatemonkey: which html parser are you using, and have you read the docs for it? |
| jagerman | f00li5h: Providing you have a utf8-supporting terminal, it works perfectly. |
| f00li5h | so it's my terminal? |
| corporatemonkey | HTML::TokeParser::Simple |
| jagerman | Or maybe the charset it's set to |
| misc-- | how can I get a list of all my objects for a specific class? |
| jagerman | You can't. |
| f00li5h | misc--: you mean instances of a specific class? |
| misc-- | yes |
| f00li5h | not for free you can't misc--: you have to make your constructor track them in a package variable |
| misc-- | ahhh... right ok ok thanks for that. |
| jagerman | And even then, you aren't guaranteed that someone else didn't create one without using your constructor |
| f00li5h | misc--: sure thing |
| misc-- | well the only way to construct it is through the constructor, so that's ok |
| f00li5h | jagerman: owch, like mis-behaved subclasses etc misc--: what if i just randomly bless a hash into your module? perlbot: karma misc |
| perlbot | Karma for misc: -27 |
| misc-- | that would be mean :) Hmm... something to think about though |
| jagerman | f00li5h: You could get around that, I suppose, with a random package name and an eval. |
| f00li5h | jagerman: oooh, that's a horrible plan, horrible, but good |
| Khisanth | they could create one with your constructor and use ref() |
| jagerman | Or storing all your methods in a lexical variable, then using an AUTOLOAD to only dispatch methods on valid objects Then you'd also want some checksumming of the object contents themselves, to make sure someone didn't get an object and then gut it. |
| f00li5h | jagerman: yowch i think at this point, inside out is the way to go although i don't understand your "gutting an object" idea |
| imMute | i think at this point, you are too anal retentitve |
| jagerman | Obviously the only solution is to leave OO to BAR and BARdoc. FOO is too easy for it. |
| f00li5h | just have the lisence your module is under state "the lisence of perl, as long as you don't violate encapsulation" |