error on not ?
url: /user/loginform/
in 4.41 this code works
my $r = $self->routes;
$r->route('/user/:action/', action =>
qr/register|doreg|openid|reminder|callback/)->to( controller => 'user' ,
action => "loginform" ); #catch 1
$r->route('/user/:action/:code/', action => qr/login/)->to( contro
Perl version
old freebsd perl 5.16.2
new debian v5.14.2
суббота, 8 февраля 2014 г., 18:42:52 UTC+4 пользователь Денис Ильиных
написал:
>
> error on not ?
>
> url: /user/loginform/
>
> in 4.41 this code works
>
> my $r = $self->routes;
>
> $r->route('
why ? im install old version 4.41 and all works again on debian perl 5.14
2014-02-08 19:41 GMT+04:00 sri :
> error on not ?
>>
>
> not.
>
> --
> sebastian
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mojolicious" group.
> To unsubscribe from this group an
Thanks :)
суббота, 8 февраля 2014 г. пользователь sri написал:
> why ? im install old version 4.41 and all works again on debian perl 5.14
>>
>
> Your routes were nonsense before 4.68 and conflict with a new feature
> afterwards.
>
> --
> sebastian
>
> --
> You received this message because you a
Because you template is cached, you need move code to controller. Morbo
dosn't cache templates and this construction works.
четверг, 21 августа 2014 г. пользователь Stefan Adams написал:
> I have a template:
>
> % use List::Util 'shuffle';
> % my @roster = shuffle @$roster;
>
> And when using hyp
пятница, 12 декабря 2014 г. пользователь Pavel Serikov написал:
> Hi everyone,
>
> I need to pass as input parameter of one function name of other function
> which must be executed in some cases. But cause of Mojolicious uses 'strict
> refs' I have no idea how to do it :(
>
> Can you please advice
http://perldoc.perl.org/strict.html
Maybe no strict 'refs' before you code and strict 'refs' after
пятница, 12 декабря 2014 г. пользователь Денис Ильиных написал:
>
>
> пятница, 12 декабря 2014 г. пользователь Pavel Serikov написал:
>
>> Hi everyone,
>
Hello i have a multiple IP and want call website via each IP
my $max_conn = 4;
Mojo::IOLoop->recurring(
0 => sub {
for ($active + 1 .. $max_conn) {
return ($active or Mojo::IOLoop->stop)
unless my $ip = shift @ips;
++$active;
$ua->loc
Digital ocean :)
понедельник, 22 февраля 2016 г. пользователь написал:
> Hello everyone, i had completely developed an application in perl with
> mojolicious framework. since i am new to perl and its frameworks i don't
> know how to *upload the project to the server* or* hosting the project
> on
Hello
can't find in Test::Mojo something like
$t = $t->element_has('div.hello', 'hello', 'Has hello');
check content by css selector.
i can check only element exist or not
$t = $t->element_exists('div.foo[x=y]');
$t = $t->element_exists_not('div.foo[x=y]');
--
С уважением.
Ильиных Денис
Прогр
; http://mojolicious.org/perldoc/Test/Mojo#text_unlike
>
> cheers,
> Lachlan
>
>> On 22 Apr 2016, at 2:46 AM, Денис Ильиных wrote:
>>
>> Hello
>> can't find in Test::Mojo something like
>>
>> $t = $t->element_has('div.hello', 'hel
<%== include 'index/footer' ,
logo => '',
brand_text => '',
brand_copy => ''
%>
--
С уважением.
Ильиных Денис
Программист
Компания "GT-Shop.ru"
Телефон: +7(963) 995-7616
> 16 июня 2020 г., в 20:36, Miguel Prz написал(а):
>
> How can I write a include statement in multiple lines
In verison > SRI/Mojolicious-8.23.tar.gz
render_to_string stop working for me
my $message = $self->render_to_string(
'mail/blank',
body=> $mail->{body},
subject => $mail->{subject},
files => $files,
);
script/app mail
Reference is already weak at /usr/local/share/perl/5.24.1
13 matches
Mail list logo