uninitialized value in substitution iterator

If rebuilding pages that call MT’s dirify function one way or another gives you a MT::App::CMS=HASH(0x8378ab4) Use of uninitialized value in substitution iterator at lib/MT/Util.pm line 387 error message, you should be able to fix it by changing line 387 from:

$s =~ s/([$HighASCIIRE])/$HighASCII{$1}/g;

to

$s =~ s/($HighASCIIRE)/$HighASCII{$1}/g;

(that is, delete the square brackets), per Ben’s suggestion in the support forum. And just ignore my inability to grasp variable typing in Perl.

1 Comment

Comment by Phil Ringnalda #
2003-02-15 15:31:05

And just to be sure I got sanitize configured properly,

Handmade paragraph,
with a break tag.

link

bold, underlined, italic, strong, emphasized, code,

          preformatted

output sample, input sample, a definition FUD

  1. one
  2. two
  • one
  • another

I didn’t say one, another, I said

one
another

Oof, I don’t think I allowed <blockquote cite=””> before. What was I thinking?

 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <del datetime="" cite=""> <dd> <dl> <dt> <em> <i> <ins datetime="" cite=""> <kbd> <li> <ol> <p> <pre> <q cite=""> <samp> <strong> <sub> <sup> <ul> in your comment.