EigenFunctions has asked for the wisdom of the Perl Monks concerning the following question:
First off, I love Perl! The language itself is wonderful, but, no matter what I want to do, there always seems to be a package to make it easier.
Long live Perl!
I'm trying to search through ODT files (Apache OpenOffice text) but I'm having problems with RegEx modifiers. When I use qr/faith/i as in$doc->selectElementsByContent(qr/faith/i)
I get the cryptic message:Can't locate object method "getTextDescendants" via package "Regexp" at D:/Apps (x86)/Perl32/site/lib/OpenOffice/OODoc/Text.pm line 452.It's not clear to me what's the problem nor what to do to fix it.
Can anyone help?
Thanks,
EigenFunctions
OpSys: Win7 Professional/Home Premium x64 Service Pack 1
|
|---|