in reply to Test code (was: Re: Character encoding in emails)
in thread Character encoding in emails

You use $dbh without ever defining or initializing it. So that code can't compile, unless incl::HTML exports $dbh. I can't find incl::HTML on cpan, so this example is not self-contained.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re: Test code (was: Re: Character encoding in emails)

Replies are listed 'Best First'.
Re^2: Test code (was: Re: Character encoding in emails)
by Bod (Parson) on Dec 09, 2023 at 14:37 UTC

    Sorry - you are correct, of course...
    incl::HTML is an internal module that does some of the standard initialisation, including making a connection to the appropriate DB schema and setting $dbh as the DBI database handle.