Hi,
Today I tried to write my first hello script,
$ mojo generate lite_app hello
vim hello to the following:
get '/' = sub {
my $self = shift;
$self-render_text('Hello!');
};
$ morbo hello
[Thu Jul 5 17:49:39 2012] [info] Listening at http://*:3000;.
Server available at
Furthermore,
Host is up.
Other addresses for localhost (not scanned): 127.0.0.1
PORT STATESERVICE
3000/tcp filtered ppp
Thanks,
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
On Thu, 5 Jul 2012 18:03:07 +0800
lina lina.lastn...@gmail.com wrote:
But on my two webbrowers when I tried localhost:3000 it failed to
open.
As in connection failed, or gave some other error?
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail:
Have you tried localhost:3000 or the correct URL http://localhost:3000 ?
--Octavian
- Original Message -
From: lina lina.lastn...@gmail.com
To: beginners@perl.org
Sent: Thursday, July 05, 2012 1:03 PM
Subject: Something mojolicious
Hi,
Today I tried to write my first hello script,
On Thu, Jul 5, 2012 at 6:18 PM, David Precious dav...@preshweb.co.uk wrote:
On Thu, 5 Jul 2012 18:03:07 +0800
lina lina.lastn...@gmail.com wrote:
But on my two webbrowers when I tried localhost:3000 it failed to
open.
As in connection failed, or gave some other error?
Hi,
It shows
The
On Thu, Jul 5, 2012 at 7:14 PM, Octavian Rasnita orasn...@gmail.com wrote:
Have you tried localhost:3000 or the correct URL http://localhost:3000 ?
Yes. I tried again.
--Octavian
- Original Message -
From: lina lina.lastn...@gmail.com
To: beginners@perl.org
Sent: Thursday, July 05,
On Jul 4, 2012, at 6:02 PM, David Precious wrote:
On Wed, 4 Jul 2012 17:01:35 -0400
Phil Pinkerton pcpinker...@gmail.com wrote:
Very nice to know about CPAN.
IMO, CPAN is one of Perl's strongest features :)
got a syntax error though with your script
syntax error at
On Jul 4, 2012, at 5:46 PM, Chris Charley wrote:
Phil Pinkerton wrote in message
news:7a962da1-a5fb-4046-bbf5-f888dd715...@gmail.com...
Very nice to know about CPAN.
got a syntax error though with your script
syntax error at ./getACLinfo.pl line 51, near say join
Execution of
hi:
i want sort my array .but the result is not right. i did not know why ?
---begin
code--
perl -e '
@AoH = (
{
rsh = 0.4,
},
{
telnet= 0.022,
},
{
ssh = 0.3,
},
);
On Thu, 5 Jul 2012 09:30:01 -0400
Phil Pinkerton pcpinker...@gmail.com wrote:
ok using the example input file I got errors
Use of uninitialized value $current_resource in string eq
at /Library/Perl/5.12/SVN/Access.pm line 70, ACL line 3.
[...]
Invalid resource format in ! (format
Hi xiyoulaoyuanjia,
On Thu, 5 Jul 2012 22:53:03 +0800
xiyoulaoyuanjia xiyoulaoyuan...@gmail.com wrote:
hi:
i want sort my array .but the result is not right. i did not know why ?
---begin
code--
perl -e '
On Jul 5, 2012, at 10:46 AM, David Precious wrote:
On Thu, 5 Jul 2012 09:30:01 -0400
Phil Pinkerton pcpinker...@gmail.com wrote:
ok using the example input file I got errors
Use of uninitialized value $current_resource in string eq
at /Library/Perl/5.12/SVN/Access.pm line 70, ACL line 3.
On Jul 5, 2012, at 10:46 AM, David Precious wrote:
On Thu, 5 Jul 2012 09:30:01 -0400
Phil Pinkerton pcpinker...@gmail.com wrote:
ok using the example input file I got errors
Use of uninitialized value $current_resource in string eq
at /Library/Perl/5.12/SVN/Access.pm line 70, ACL line 3.
On Jul 5, 2012, at 10:46 AM, David Precious wrote:
On Thu, 5 Jul 2012 09:30:01 -0400
Phil Pinkerton pcpinker...@gmail.com wrote:
ok using the example input file I got errors
Use of uninitialized value $current_resource in string eq
at /Library/Perl/5.12/SVN/Access.pm line 70, ACL line 3.
- 1.first do you meaning values(%{$a}) as same as values($a) which $a
is references starting from perl-5.14 .
2. i did not know why I compare two lists ? values($a) return the value of
hash which has only one element. so i just think values($a) return a list
just when $a has more than
15 matches
Mail list logo