Posted on 2007-07-10 17:52:33-07 by fernandes
Is it possible to use Text::Statistics::Latin in only one shell line?
Gostaria de saber se he possIvel implementar este mOdulo em uma Unica linha de comando? Algo como:

perl {use Text::Statistics::Latin; &LATIN("100");}

Grato,
Rodrigo
Direct Responses: 5739 | Write a response
Posted on 2007-07-16 20:04:31-07 by fernandes in response to 5677
Re: Is it possible to use Text::Statistics::Latin in only one shell line?
Yes, it is possible:
perl -MText::Statistics::Latin -e 'LATIN("NUMBER")' #replace NUMBER by the numbre of files you will analyse plus 1, i.e., if you are going to scan 10 files, write:
perl -MText::Statistics::Latin -e 'LATIN("11")'

Acknowledgements on this tip to Nelson Ferraz!
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.