Help with Perl 6 script

2019-08-08 Thread Rui Fernandes
I'm having problem specially in the "multi infix" and even in the "norm" sub routine. The problem is that I do not understand the construction of these in Perl 5 (otherwise, I would translate this easely, and I wouldn't be asking for help...) Any help is apreciated. Clear skies Rui Fernandes

Re: Heredocs with \r\n on linux

2017-10-15 Thread Rui Fernandes
, 2017 at 1:21 AM, Kent Fredric wrote: > > > On 16 October 2017 at 12:21, Rui Fernandes wrote: > >> Hi >> >> Did you try to declare before all the code (right after the modules): >> >> print "Content-type: text/html\n\n"; >> >> ? >

Re: Heredocs with \r\n on linux

2017-10-15 Thread Rui Fernandes
Hi Did you try to declare before all the code (right after the modules): print "Content-type: text/html\n\n"; ? Cheers Kepler Sem vĂ­rus. www.avast.com

Re: Problems displaying Perl structures

2016-02-17 Thread Rui Fernandes
Hi, Try this (read comments please...) #!/usr/bin/perl print "Content-type: text/html\n\n"; my $VAR1 = { 'group1' => '10.100.27.52', 'group2' => '10.100.27.53', 'group3' => '10.100.27.54', 'group4' => '10.100.27.55', 'group5' => '10.100.27.56',

Re: Report with Template

2015-12-20 Thread Rui Fernandes
Hi, I'm trying to allow only certain domais and subdomains to access a specific folder in my domain. Actually, I have one subdomain, sub.domain.com, in a dir called sub in my domain.com What I want is that the user must call one page like sub.domain.com/page.html but from the right referrer. No

Re: perl script with errors?

2015-11-25 Thread Rui Fernandes
Hi Gary, I don't know what you are trying to do with that code... :( Still, it's valid this way: #!/usr/bin/perl use strict; use warnings; print "Content-type: text/html\n\n"; #Only if you want this format while (my $line = <>) { while ($line =~ s#\d+\s*[*+-/]\s*\d+(\s*[*+-/]\s*\d+)*##) {

Re: Perl executable problem...

2015-11-16 Thread Rui Fernandes
Good morning Kevin, I've installed par as you said. It seeme to run, but it asks for setup the gcc environment... I'm a little bit lost on how to do it... Regards, Miguel On Sun, Nov 15, 2015 at 10:59 PM, Kevin Walzer wrote: > On 11/15/15 5:27 PM, ekimduna...@gmail.com wrote: > > Miguel, > >

Re: Perl executable problem...

2015-11-15 Thread Rui Fernandes
t familiar with this release... Kind regards, Miguel Fernandes On Fri, Nov 13, 2015 at 6:21 PM, Brandon McCaig wrote: > Rui: > > On Thu, Nov 12, 2015 at 8:53 AM, Rui Fernandes > wrote: > > Hi, > > Hello: > > > I'm having a problem compiling a perl script to

Re: Perl executable problem...

2015-11-12 Thread Rui Fernandes
tive state, but >> when I run it (in the command line of dos) it just freezes - no anwer. The >> compilation gives no error. Does anyone knows why this might be >> happening?Cheers.* >> >> *Rui Fernandes* >> > -- *Rui Miguel Fernandes* *Porto - Portugal* *Website: Cosmos - Portal Interactivo de Astronomia / Interactive Gate of Astronomyhttp://www.cosmos.pt <http://www.cosmos.pt>*

Perl executable problem...

2015-11-12 Thread Rui Fernandes
ening?Cheers.* *Rui Fernandes*