$ 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?
In reply to Re^5: Detect the Charset of an file
by Anonymous Monk
in thread Detect the Charset of an file
by endymion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |