>>
>> Can someone point me to a how to that will show me the
>> basic template for running a perl 6 program in Linux.
>>

The most important thing is to ensure that perl 6 is normally
executable, i.e. in a directory in $PATH.

>> do I need to run perl6 through a compiler or does it compile on the fly like 
>> perl 5?
>>

The thing that will probably help you most in learning p6 is the REPL
- Read, Evaluate, Print Loop. If you simply execute perl6 without
arguments:
myprompt$ perl6
To exit type 'exit' or '^D'
>
it will present with a message and a > prompt.
 Any perl 6 statement typed there will be evaluated  and return a
result. Normal up- and down-arrow and command-line editing rules
apply, including recalling previous commands.

When you're tired of that, CTL-D or exit will let you do something
else. (I suspect people will write their scripts with a REPL window
open to test any concepts they might not grok completely, rather than
waiting for a test run to fail.)

Reply via email to