perl



A quick perl question: I've got this script I found, and I'm trying to run. It required me to install XML::RSS. Now, when I try to run it, it complains
"encode_entities_numeric" is not exported by the HTML::Entities module
Can't continue after import errors at /usr/lib/perl5/site_perl/5.8.0/XML/RSS.pm line 5
So, I do what the docs say, I think, in adding a line to my script of
use HTML::Entities qw(:DEFAULT encode_entities_numeric);

and now I get just
"encode_entities_numeric" is not exported by the HTML::Entities module
as my script gags when I put that as the first use statement.

Where the blazes am I supposed to put that use statement, in the HTML::Entities? In the XML::RSS?

mark

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: HELP needed for a small script
    ... You first have to _get_ a script before you need to know how ... The question above is not a Perl question, ... Questions about web server configuration should be asked in: ...
    (comp.lang.perl.misc)
  • Re: Perl script timeout problem
    ... Brian McCauley wrote... ... this does not appear to be a Perl question at all. ... the script itself, or the environment its being executed in. ... of which is that the "key" for the file needs to be able to expire. ...
    (comp.lang.perl.misc)
  • Re: Perl interaction with Expect
    ... I'm not sure if this is a Perl question or an Expect question. ... their Perl script. ... The Perl script needs to have the value returned as either a "SUCCESS" ...
    (comp.lang.perl.misc)
  • Re: Returned mail is causing script to crash
    ... > I apologise if this is not strictly a Perl question but I am not sure ... > One of my scripts sends an automated email to the customer. ... > However the script is not expecting this message and the message seems ...
    (comp.lang.perl.misc)
  • Perl interaction with Expect
    ... I'm not sure if this is a Perl question or an Expect question. ... their Perl script. ... The Perl script needs to have the value returned as either a "SUCCESS" ...
    (comp.lang.perl.misc)