in reply to Encode::Detec::Detector: This is not an SV reference error

Just an observation...$1 is global, so you can't use it with 'my'. Also, remember that Encode::Detect::Detector doesn't encode but only decodes, so your sub get_encoding should probably be "get_decoding".
  • Comment on Re: Encode::Detec::Detector: This is not an SV reference error

Replies are listed 'Best First'.
Re^2: Encode::Detec::Detector: This is not an SV reference error
by Anonymous Monk on Sep 29, 2010 at 13:54 UTC
    $1 is global...
    font problem: $1 (one) often looks like $l (lowercase el), but isn't the same...