FAQ

Search Discussions

519 discussions - 2,292 posts

  • Greetings, I'm writing a command line util in my mojo project. I'm trying to make the command module print out pod. package DeltaR::Command::query; use Mojo::Base 'Mojolicious::Command'; use ...
    Neil WatsonNeil Watson
    May 16, 2014 at 4:58 pm
    May 16, 2014 at 5:22 pm
  • Hi, everyone: I'm just learning mojo, I want to build a progress bar. My idea is to put the percentage progress in user's session, and use ajax to request the page contains JSON data from the ...
    Jianlei ZhangJianlei Zhang
    May 16, 2014 at 3:22 pm
    May 16, 2014 at 4:23 pm
  • Greetings, When using mojo::command how do you parse arguments? I tried getopt::long but nothing came through. package DeltaR::Command::query; use Mojo::Base 'Mojolicious::Command'; use ...
    Neil WatsonNeil Watson
    May 16, 2014 at 1:43 am
    May 16, 2014 at 12:15 pm
  • Hi Looking for some advice, docs, modules to use with a mojoliicous site I want to do. Ok the basis of the site is that I will be importing an xml files consistently(they have consistent format), I ...
    Sayth RenshawSayth Renshaw
    May 14, 2014 at 12:23 am
    May 16, 2014 at 7:18 pm
  • All, I have a working app with the following route: post '/raw_upload' = sub { my $self = shift; my $file = $self- req- upload('upload'); if($file) { $file- move_to($dataDir.$self- ...
    M. Aaron BossertM. Aaron Bossert
    May 8, 2014 at 3:27 am
    May 8, 2014 at 11:41 pm
  • Greetings, Is there or could there be pretty setting for Mojo::JSON? -- Neil Watson Linux/UNIX Consultant http://watson-wilson.ca -- You received this message because you are subscribed to the Google ...
    Neil WatsonNeil Watson
    May 8, 2014 at 12:57 am
    May 8, 2014 at 12:57 am
  • Greetings, I'm working growing my app as the doc says. I'm trying to route to a local subroutine: sub startup { .... $r- get( '/trend/kept' )- to('#trend', subject = 'Kept'); } sub trend # This is in ...
    Neil WatsonNeil Watson
    May 7, 2014 at 10:21 pm
    May 8, 2014 at 6:55 pm
  • Greetings, I'm stashing some JSON data to send to a template: $self- stash( title = "Promises kept trend", rows = $rows, dr_data = $json_data_series, # <<< encoded JSON hosts_stats = $hosts_stats, ...
    Neil WatsonNeil Watson
    May 7, 2014 at 2:40 am
    May 7, 2014 at 12:03 pm
  • In my app, I use Mojo::IOLoop- recurring( 1800 = sub { # update the database from another data source }); This doesn't need to be run by each worker, it only needs to be done once within the ...
    Richard SuggRichard Sugg
    May 2, 2014 at 1:09 pm
    May 2, 2014 at 2:18 pm
  • What do people think about move_to() creating the directory to the file that it will spurt rather than generating an error? sub move_to { my ($self, $to) = @_; make_path dirname($to); # Something ...
    Stefan AdamsStefan Adams
    May 1, 2014 at 3:40 am
    May 1, 2014 at 3:40 am
  • Hi guys, I have a route protected by an *over* route condition. I also have a *Catch-All* route where I'd like to show some message to the user who requests for a page that doesn't match any other ...
    Amarnath RavikumarAmarnath Ravikumar
    Apr 26, 2014 at 6:54 pm
    Apr 26, 2014 at 6:54 pm
  • Just wondering if someone here uses emacs for mojolicious. I have installed emacs-prelude http://batsov.com/prelude/ and it handles the perl code fine just wondering how I could get highlighting ...
    Sayth RenshawSayth Renshaw
    Apr 25, 2014 at 10:36 am
    Apr 25, 2014 at 11:44 am
  • I have a couple of processes that do a lot of logging that I would not like a part of the main application's log file, but when I setup multiple loggers, they also seem to log to the same place. # ...
    Richard SuggRichard Sugg
    Apr 22, 2014 at 4:50 pm
    Apr 23, 2014 at 4:47 pm
  • Hi All, I have one error in consume a json that I can’t figure why it occur! First my service: https://54.207.83.222/dokcloud-api/1.0/json/test Note that the cert (https) is self-signed (test server) ...
    Renato FortiRenato Forti
    Apr 19, 2014 at 1:28 pm
    Apr 19, 2014 at 3:11 pm
  • Hello, How can I handle a client connection without any header / protocol. A simple line by line async communication until the client drops the connection? It is garantied, that the first line send ...
    Rüdiger DehmelRüdiger Dehmel
    Apr 18, 2014 at 5:06 pm
    Apr 18, 2014 at 5:06 pm
  • Hi, I am currently using Apache for my deployment because of a custom Apache auth module we use. So my options (as I see them) are CGI and plack/mod_perl. Everything was humming along just fine until ...
    Andy OAndy O
    Apr 17, 2014 at 1:09 am
    May 14, 2014 at 12:25 pm
  • Hi my emacs major mode for editing web templates is now compatible with mojolicious templates. It is called web-mode.el and is available on web-mode.org Can it be advertised on the mojolicious ...
    François-Xavier BoisFrançois-Xavier Bois
    Apr 13, 2014 at 8:10 pm
    Apr 16, 2014 at 4:01 pm
  • Can I collect the username from apache (mod_proxy/htpasswd) for use in mojo? -- Neil Watson Linux/UNIX Consultant http://watson-wilson.ca -- You received this message because you are subscribed to ...
    Neil WatsonNeil Watson
    Apr 13, 2014 at 6:12 pm
    Apr 13, 2014 at 7:37 pm
  • Greetings, I have an app that will not start, but returns no errors. Is there some sort of debugging or error collection I can use with Hypnotoad? use strict; use warnings; use lib ...
    Neil WatsonNeil Watson
    Apr 12, 2014 at 3:34 pm
    Apr 13, 2014 at 3:24 pm
  • As far as I can tell, I have a valid route for check_password_user, but when I GET it, I get 404 back. Why doesn't this route match? When I run the routes command, I get back ...
    Richard SuggRichard Sugg
    Apr 11, 2014 at 3:50 pm
    Apr 14, 2014 at 5:25 pm
  • I have started experiencing errors in my nginx log that says "upstream prematurely closed connection while reading response header from upstream." Upstream (reverse-proxy to hypnotoad) would be my ...
    ScottScott
    Apr 10, 2014 at 5:38 pm
    Apr 11, 2014 at 4:09 pm
  • Hi, my current approach to releasing my web app is to create a new directory for each new release, with a link pointing to the 'current' release version so that Apache (Hypnotoad sits behind an ...
    Allan CochraneAllan Cochrane
    Apr 10, 2014 at 4:15 pm
    Apr 10, 2014 at 7:11 pm
  • Hello All, I am posting this just in case somebody else runs into this issue. My workstation is Ubuntu and I have been using an instance of XP running on VirtualBox for cross-platform testing. It ...
    James BeardenJames Bearden
    Apr 8, 2014 at 10:55 pm
    Apr 8, 2014 at 10:55 pm
  • Hi, I am trying to catch exception that raises when Mojo::DOM cannot find anything at specified location. For example, when I run: $content = $dom- at('html body div#ja-contents table + table tr td') ...
    Stanislav BlinovStanislav Blinov
    Apr 6, 2014 at 1:43 pm
    Apr 8, 2014 at 7:06 am
  • Greetings, I have a simple web/db application built with Mojolicious. I'm building some maintenance tools for db record culling. Normally, I would just make these cron jobs, but I'm wondering if ...
    Neil WatsonNeil Watson
    Apr 3, 2014 at 2:21 pm
    Apr 6, 2014 at 1:55 pm
  • Hello: I'm using Mojo::Test (Mojolicious 4.90) to attempt the following test: $t - get_ok("/steve/api/foo?foo=bar&boom=baz", {'accept'= 'application/json'}, "ordinary cgi params"); This is routed to ...
    ToddTodd
    Apr 2, 2014 at 10:30 pm
    Apr 3, 2014 at 2:25 pm
  • I'm working on a suite of HTTP/REST JSON web services, but running into a little strangeness. I figured I'm probably just not doing this right, so I'm posting here for clarification. I am encoding ...
    Nathan WaddellNathan Waddell
    Apr 2, 2014 at 9:39 pm
    Apr 3, 2014 at 3:27 pm
  • Since i don't have as much time anymore to look after issues on GitHub, they've started piling up a little. So if you're looking for an opportunity to get more involved in the project, some help ...
    SriSri
    Apr 1, 2014 at 7:07 pm
    Apr 1, 2014 at 8:19 pm
  • hi, I have this html: <table border="0" cellpadding="2" width="100%" <tr <td bgcolor="#777777" width="50%" <b Server Name </b </td <td bgcolor="#777777" width="20%" <b Server Status</b </td <td ...
    Natxo AsenjoNatxo Asenjo
    Mar 31, 2014 at 10:22 am
    Mar 31, 2014 at 10:56 am
  • Does anyone have a simple example of using Mojolicious Lite and AngularJS together? I was trying to integrate the AngularJS tutorial into a simple mojolicious lite script, but the angular templates ...
    TyTy
    Mar 28, 2014 at 1:37 pm
    Mar 28, 2014 at 1:37 pm
  • Since the topic keeps coming up pretty regularly around here, my latest project might be of interest to some of you. https://github.com/kraih/minion The idea is to build a minimalistic resque ...
    SriSri
    Mar 28, 2014 at 2:04 am
    Apr 4, 2014 at 10:41 pm
  • In 4.50 and before, I could. With 4.51 I started to get a namespace problem. Perhaps this is a bug. Undefined subroutine &main::_ called at template home.html.ep from DATA section line 2 ...
    Charlie BradyCharlie Brady
    Mar 27, 2014 at 8:03 pm
    Mar 27, 2014 at 8:03 pm
  • Bernhard's suggestion doesn't solve the problem. What you need to do is write this in your startup routine: *use Mojo::IOLoop;Mojo::IOLoop- next_tick(sub{ srand;});* This trick documented here ...
    Alexander KarelasAlexander Karelas
    Mar 22, 2014 at 10:35 pm
    Mar 23, 2014 at 9:57 pm
  • I am baffled as to why this example Lite application works. As you can see, I have commented out $c- $action from the around_action handler, yet the page renders fine. http://pastebin.com/xtxXQAWG ...
    Alexander KarelasAlexander Karelas
    Mar 22, 2014 at 5:57 pm
    Mar 24, 2014 at 6:06 am
  • Hello, I think it would be a cool feature to be able to set morbo options in the configuration file used by Mojolicious::Plugin::Config juste like hypnotoad. It would allow to have multiple morbo ...
    Luc DidryLuc Didry
    Mar 21, 2014 at 10:39 pm
    Mar 21, 2014 at 10:39 pm
  • Hi everyone: I have developed some internal tools to do a few different things. Currently I create one app for each task. As I created more and more apps for more tasks, I have come up with this ...
    Jim GJim G
    Mar 21, 2014 at 3:07 pm
    Mar 21, 2014 at 9:14 pm
  • We have received a good amount of talks, but we realize we can squeeze in quite a few more. That's why we have decide to prolong the deadline till April 5th. The topics the talks we have received ...
    Nicolas MendozaNicolas Mendoza
    Mar 21, 2014 at 8:38 am
    Mar 21, 2014 at 8:38 am
  • Hello, I have to use mojo:template in my console scripts, and have some questions. 1. I have a template wich I run hundreed time. I want to compile it from file, and then use interpret in the loop ...
    Ivan KorjavinIvan Korjavin
    Mar 20, 2014 at 6:31 am
    Mar 20, 2014 at 6:31 am
  • Hi All, I want update my mojo! I am using 2.98 on ubuntu, see: CORE Perl (v5.14.2, linux) Mojolicious (2.98, Leaf Fluttering In Wind) OPTIONAL EV (not installed) IO::Socket::INET6 (2.69) ...
    Renato FortiRenato Forti
    Mar 18, 2014 at 1:09 pm
    Mar 20, 2014 at 11:28 am
  • I'll post some things in this thread i think we might want to talk about at Mojoconf, and possibly make decisions about while we are all at the same physical location. 1) HTTP/2 support. Where do we ...
    SriSri
    Mar 17, 2014 at 10:53 pm
    Apr 30, 2014 at 3:47 pm
  • Hi All, just started with Mojolicious and experimenting with it. I had the idea to use it as simple output for simple scripts. So ideally I could tie to a websocket and to printf all output to it ...
    Archimedeus AArchimedeus A
    Mar 15, 2014 at 8:08 pm
    Mar 16, 2014 at 1:17 pm
  • Hello, Suppose this tree: app/app.pl app/templates An code like this in app.pl get '/' = 'home'; Works fine. How does morbo figure out where to find the home template? If move app.pl to ...
    Neil WatsonNeil Watson
    Mar 13, 2014 at 3:12 pm
    Mar 13, 2014 at 5:47 pm
  • I remember the topic popping up every now and then, so this new feature might be of interest to some of you ...
    SriSri
    Mar 12, 2014 at 7:55 pm
    Mar 13, 2014 at 6:05 pm
  • Greetings, How does pagination work? For example, I'm querying a db table that returns hundreds of rows in a single array reference. How does that data set get separated into separate pages? -- Neil ...
    Neil WatsonNeil Watson
    Mar 12, 2014 at 1:54 pm
    Mar 12, 2014 at 3:17 pm
  • Howdy, I'm learning and prototyping with mojo lite. I'm getting a db connection error but I don't know why. Error: DBD::Pg::st execute failed: Cannot call execute on a disconnected database handle at ...
    Neil WatsonNeil Watson
    Mar 12, 2014 at 12:32 am
    Mar 12, 2014 at 2:17 pm
  • Greetings, I'm new to Mojo and I'm going through the documentation. In the Growing guide I'm trying the first testing example using login.t ...
    Neil WatsonNeil Watson
    Mar 9, 2014 at 2:15 pm
    Mar 9, 2014 at 3:10 pm
  • Hi all, These routings work fine for me: get '/Auth/:id' = sub {..} post '/Users/:id' = sub {..} patch '/Users/:id' = sub {..} For request described in "System for Cross-Domain Identity ...
    KrempeKrempe
    Mar 7, 2014 at 9:02 am
    Mar 7, 2014 at 12:02 pm
  • Hi all, Is there a preferred pattern, or workflow for dealing with url parameters that all routes should take, preferably without modifying the route code to recognize them? Say, for example, I want ...
    Chris ChurchChris Church
    Mar 7, 2014 at 2:23 am
    Mar 7, 2014 at 2:23 am
  • Hello, I developed an image hosting service with Mojolicious but some users which installed it have 100% CPU consumption with hypnotoad. One have Linux Mint 16 as OS and the other uses raspian on a ...
    Luc DidryLuc Didry
    Mar 6, 2014 at 4:03 pm
    Mar 7, 2014 at 3:58 pm
  • Is it possible for Mojolicious to be the core component in an Internet of Things solution? I want to build a device that is behind a firewall and I want a user who is also behind a firewall to ...
    Stefan AdamsStefan Adams
    Mar 1, 2014 at 12:04 am
    Mar 2, 2014 at 1:21 am
Group Navigation
period‹ prev | Latest | first ›
Group Overview
groupmojolicious @
categoriesperl
discussions519
posts2,292
users310
websitemojolicio.us
irc#mojolicious

Top users

Sebastian Riedel: 435 posts Stefan Adams: 74 posts Ben van Staveren: 57 posts Charlie Brady: 44 posts Tekki: 38 posts Gabriel Vieira: 34 posts Valuyskiy Alex: 34 posts Lance Gropper: 32 posts Michael P. Soulier: 28 posts Revlin John: 28 posts Michel: 28 posts Sebastian Riedel: 27 posts Roland Lammel: 27 posts Allan Cochrane: 26 posts Renato Forti: 26 posts Aleksander.groschev: 25 posts Wes Cravens: 25 posts Glen: 24 posts Stefan: 24 posts Byterock: 24 posts
show more