-
Very new to Mojolicious and web frameworks.... maybe getting off track, but trying to work this through... Can someone please explain the logic behind how I get messages/files containing things like: west_Mj_01 from "mojo generate app west_MJ_01" (notice J and j) Is the simplification to only use non-capitalized letters? No underscores? (bionic)westm@localhost:~/google_drive/mojo$ mojo generate app west_MJ_01 (bionic)westm@localhost:~/google_drive/mojo$ mojo generate app MyApp (bionic)westm@localhost:~/google_drive/mojo$ mojo generate app WEST_MJ_01 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The convention for Perl package names, and thus application names, is CamelCase. This is then converted to a lowercase script name (and directory name) with underscores using https://metacpan.org/pod/Mojo::Util#decamelize. |
Beta Was this translation helpful? Give feedback.
The convention for Perl package names, and thus application names, is CamelCase. This is then converted to a lowercase script name (and directory name) with underscores using https://metacpan.org/pod/Mojo::Util#decamelize.