| buu | Petr Pajas > XML-LibXML-1.63 > my @nodelist = $doc->getElementsByLocalName($localname); my $node = $doc->getElementById($id); |
| action | buu shrugs |
| buu | shrugs |
| action | CPAN rating: Module-Pluggable rated 4 stars by Ricardo SIGNES |
| CPAN | rating: Module-Pluggable rated 4 stars by Ricardo SIGNES |
| buu | I was staring at the cpan. |
| jagerman | So it's changed since then |
| buu | But it explains his problem. |
| jagerman | It makes sense; the DOM only defines getElementById 1.60 - getElementsById corrected to getElementById and the old name kept as an alias. From the changelog |
| thrig | ugh. CamelCase |
| rmah | DOM sucs |
| subichan | it worked! but "wide character in print" is a bad warning? I get that now |
| jagerman | thrig: It is intentionally a direct map of DOM methods With a few extra s's here and there ;) |
| mauke | subichan: are you printing to STDOUT? |
| subichan | i'm printing to a file |
| mauke | binmode $fh, ':utf8'; print $fh "...." |
| jagerman | subichan: It means you have some sort of unicode data that you're printing out, but you haven't opened the file in utf8 mode (or in some other encoding that supports wide characters) |
| action | CPAN rating: PPI rated 5 stars by Ricardo SIGNES |
| CPAN | rating: PPI rated 5 stars by Ricardo SIGNES |
| jagerman | Better yet is to change your open to: open $fh, ">:utf8", $filanem |
| action | CPAN rating: PadWalker rated 4 stars by Ricardo SIGNES |
| CPAN | rating: PadWalker rated 4 stars by Ricardo SIGNES |
| action | CPAN rating: Params-Util rated 4 stars by Ricardo SIGNES |
| CPAN | rating: Params-Util rated 4 stars by Ricardo SIGNES |
| subichan | how come it displays as unicode though? |
| mauke | because perl outputs utf-8 anyway |
| Yaakov | Hello, thrig. |
| action | CPAN rating: Perl-Critic rated 4 stars by Ricardo SIGNES |
| CPAN | rating: Perl-Critic rated 4 stars by Ricardo SIGNES |
| thrig | morning, Yaakov |
| digitok | Morning, kovaya |
| action | CPAN rating: Perl-MinimumVersion rated 4 stars by Ricardo SIGNES |
| CPAN | rating: Perl-MinimumVersion rated 4 stars by Ricardo SIGNES |
| action | CPAN rating: Pod-Coverage rated 4 stars by Ricardo SIGNES |
| CPAN | rating: Pod-Coverage rated 4 stars by Ricardo SIGNES |
| jagerman | RATING SPAM DETECTED! |
| action | jagerman arms the zigs |
| jagerman | arms the zigs |
| sili | jagerman: make your time |
| jagerman | Don't be sili. |
| action | CPAN rating: SQL-Abstract rated 4 stars by Ricardo SIGNES |
| CPAN | rating: SQL-Abstract rated 4 stars by Ricardo SIGNES |
| sili | SQLABSTRACT? PFFFT. USE SQL BUILDER. TOP-DOWN ABSTRACTIONS FTL |