BillSeurer has asked for the wisdom of the Perl Monks concerning the following question:
I'd like to be able to specify an encoding with filtering on the perl command line equivalent to the above statement. I can't figure out the Filter part though. What is the proper syntax?
perl -Mencoding=whatever ???? myscript
perl -M'encoding ?????' myscript
-------
Update:
This works:
perl -Mencoding=whatever,Filter,1 myscript
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: encoding with filtering from command line
by monkfan (Curate) on Apr 07, 2005 at 14:10 UTC | |
|
Re: encoding with filtering from command line
by cog (Parson) on Apr 07, 2005 at 13:56 UTC | |
by polettix (Vicar) on Apr 07, 2005 at 15:19 UTC | |
|
Re: encoding with filtering from command line
by Anonymous Monk on Apr 07, 2005 at 15:34 UTC |