in reply to HTML image tag stripping

The interpreter is telling me that I have a global variable which needs an explicit package name

You will probably get better advice if you include the actual output from Perl (not to mention <code> tags)...

See How (Not) To Ask A Question

Please help us help you.
--
bm

Replies are listed 'Best First'.
Re: Re: HTML image tag stripping
by Anonymous Monk on Aug 05, 2003 at 15:53 UTC

    On the other hand, that particular error often occurs when you 'use strict', but forget to declare a variable with 'my'. Strict then thinks it's a package global and asks you to say which package it's in, but you should really declare it instead. (Alternately, if you have declared it, move the declaration to a wider scope to encompass the place you use it.)