Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Mojolicious Routing mangles controller path

by Your Mother (Archbishop)
on Jan 08, 2018 at 16:56 UTC ( [id://1206918]=note: print w/replies, xml ) Need Help??


in reply to Re: Mojolicious Routing mangles controller path
in thread Mojolicious Routing mangles controller path

Dashes are easier to type, especially for non-typists, and read better to non hackers—are also far less confusing when handwritten—so it's potentially a convenience for end users.

  • Comment on Re^2: Mojolicious Routing mangles controller path

Replies are listed 'Best First'.
Re^3: Mojolicious Routing mangles controller path
by Anonymous Monk on Jan 08, 2018 at 22:37 UTC

    Dashes are easier to type, especially for non-typists, and read better to non hackers—are also far less confusing when handwritten—so it's potentially a convenience for end users.

    Why would any of those non-OPs/non-programmers be involved in typing the name of controllers?

    Also what exactly does that have to do with the programmer OP whos having trouble getting mojo to call the correct controller (perl module)?

    Seems to me the most straight forward thing to do, since OP is already typing all this out, is to tell mojo in perl module terms what to call, not in shorthand terms

      URLs are what is at issue. There is nothing wrong with using hyphens in them and, as I remarked, it's even preferable. You, or another noname monk, remarked, wondering why one might want to do that, claiming it was neither convention nor convenience. I gave examples of why it is actually both for all the potential users as opposed to the one, maybe a dozen, developers.

        URLs are what is at issue. There is nothing wrong with using hyphens in them and, as I remarked, it's even preferable. You, or another noname monk, remarked, wondering why one might want to do that, claiming it was neither convention nor convenience. I gave examples of why it is actually both for all the potential users as opposed to the one, maybe a dozen, developers.

        Nope

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1206918]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-20 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found