Re: Simple windows code example needed

2017-01-12 Thread Parrot Raiser
P.S. I just noticed your "long way": perl6 my_program.pl If you are invoking the script as an argument to perl6, you don't need a suffix. Windows needs the .pl suffix to decide what to do with the file. If you have Perl 5, you are likely have .pl linked to it. I'd suggest a separate value, perhaps

Re: Simple windows code example needed

2017-01-12 Thread Parrot Raiser
"There is no "#!/usr/bin/perl6" utility in Windows". That's not a utility, as such, it's telling the shell where the program was invoked, which interpreter to use. Windows ignores the !# line, because it uses the file-type suffix to find the information. On 1/12/17, ToddAndMargo wrote: > On 01/1

Re: Simple windows code example needed

2017-01-12 Thread ToddAndMargo
On 01/12/2017 12:02 AM, ToddAndMargo wrote: What do you replace in Windows? #!/usr/bin/perl6 Oh I get it. There is no "#!/usr/bin/perl6" utility in Windows. You just do it the long way: perl6 my_program.pl -- ~~ Computers are like air condi

Re: Simple windows code example needed

2017-01-12 Thread ToddAndMargo
On 01/11/2017 09:22 PM, Lloyd Fournier wrote: Ah. If that's the case I have nothing useful to contribute :| LL On Thu, Jan 12, 2017 at 4:15 PM Brandon Allbery wrote:

Re: Simple windows code example needed

2017-01-11 Thread Lloyd Fournier
Ah. If that's the case I have nothing useful to contribute :| LL On Thu, Jan 12, 2017 at 4:15 PM Brandon Allbery wrote: > > On Thu, Jan 12, 2017 at 12:11 AM, Lloyd Fournier > wrote: > > say "hello world"; > or on the command line: > perl6 -e 'say "hello world"' > > There are no headers :) > >

Re: Simple windows code example needed

2017-01-11 Thread Brandon Allbery
On Thu, Jan 12, 2017 at 12:11 AM, Lloyd Fournier wrote: > say "hello world"; > or on the command line: > perl6 -e 'say "hello world"' > > There are no headers :) > I parsed that request as asking how to write a GUI program, fwiw. -- brandon s allbery kf8nh sine no

Re: Simple windows code example needed

2017-01-11 Thread Lloyd Fournier
say "hello world"; or on the command line: perl6 -e 'say "hello world"' There are no headers :) LL On Thu, Jan 12, 2017 at 2:28 PM ToddAndMargo wrote: Hi All, Please forgive me being a mooch here. Would some kind person please write me a simple Windows perl 6 script so that I can see the he

Simple windows code example needed

2017-01-11 Thread ToddAndMargo
Hi All, Please forgive me being a mooch here. Would some kind person please write me a simple Windows perl 6 script so that I can see the headers? A simple write "hello" to the screen will suffice. Many thanks, -T -- ~~ Computers are like air conditioners.