powerman / perl-Mojolicious-Plugin-SecureCORS

Perl module: Mojolicious::Plugin::SecureCORS - Complete control over CORS
https://metacpan.org/release/Mojolicious-Plugin-SecureCORS
Other
0 stars 4 forks source link

What is '$r' in the synopsis? #1

Closed szabgab closed 8 years ago

szabgab commented 8 years ago

It would be nice if you could clarify what is $r in the synopsis and how do we get it?

powerman commented 8 years ago

It's well-known (for Mojolicious developers) name for routes object, used all of time in Mojo docs like:

Personally I don't think this have to be clarified in docs, but I'll accept PR with this change, so feel free to add what you think is missing/unclear in doc. :)