Print

Print


Yeah, thanks, but I had to comment out "use strict;"!

At 12:51 15.1.2003 -0800, Arthaey Angosii wrote:

>Emaelivpar B.Philip Jonsson:
> >John, could you PLEASE modify it so that it  can take the rules from a
> >specified file?  I could probably do that change my self, but I'm sure I
> >could also botch everything...
>
>Just use redirects.  For example, say you have the files everyword.pl (the
>source code itself), cowan.rules (the test rules John supplied), and
>cowan.txt (a text file that will contain all the generated words).
>
>In DOS (and UNIX too, I believe), just type:
>
>     perl everyword.pl < cowan.rules > cowan.txt
>
>If you read "<" as "from" and ">" as "to" it becomes clear what you're
>doing:  "Run the Perl program everyword, using input from cowan.rules and
>storing results to cowan.txt."
>
>Hope this helps.
>
>
>--
>AA


/ B.Philip Jonsson B^)>
--
mailto:[log in to unmask] (delete X!)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
No man forgets his original trade: the rights of nations and of kings sink
into questions of grammar, if grammarians discuss them.
-Dr. Samuel Johnson (1707 - 1784)