in reply to Re^4: Detect the Charset of an file
in thread Detect the Charset of an file
$ perl thestuff Bareword found where operator expected at thestuff line 3, near "-> ne +w Encode::Detect::Detector" (Missing operator before Encode::Detect::Detector?) Scalar found where operator expected at thestuff line 5, near ") $charset" (Missing semicolon on previous line?) syntax error at thestuff line 3, near "-> new Encode::Detect::Detector +" syntax error at thestuff line 5, near ") $charset " Execution of thestuff aborted due to compilation errors.
Are you copy/pasting from Encode::Detect::Detector or what?
|
|---|