http://qs1969.pair.com?node_id=1206936


in reply to Re^2: 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.

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

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

Replies are listed 'Best First'.
Re^4: Mojolicious Routing mangles controller path
by Your Mother (Archbishop) on Jan 09, 2018 at 01:30 UTC

    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

        Can always count on the anonymonks for cogent, incisive rebuttals. Now that you've cleared the mist from my mind… I feel at peace and ready to understand even the most simple and obvious metaphors. If only I had met someone with your clarity in primary school I might never have spent all those years on the streets of Galați sleeping in discarded Euromonitor boxes and gambling on rat fights with merchant marines.