I tried using Catalyst::Plugin::Static::Simple but I can't seem to figure it out. :/ :(.

What did you try?

Will any monk be kind enough to present me a step-by-step crash course on how to use C::P::S::S? Or a better question is, since I learn faster by examples, can any monk point me to a complete example that uses C::P::S::S? I did google about it, but it still is unclear.

:) All the best code has examples ready to run in MANIFEST, speaking of "best code", "better best" code even has them in examples directory with short/meaningful/clear to understand variable/subnames, and "super best" code even has complete example in SYNOPSIS

So, it seem you should use

MyApp->config( static => { ## include_path => [ ## MyApp->config->{root}.'/static', ## ], ## or dirs => [ ## qr{^static}, 'static', ], }, );

Then you save your files in MyApp->config->{root}.'/static/temp/fileXXX.jpg'

and you generate links /yourapp/static/temp/fileXXX.jpg so C'P'S'S will search MyApp->config->{root}.'/static/ for temp/fileXXX.jpg

All that is left to turn on debug , test it, and tweak ignore*/mime....


In reply to Re: Catalyst Help once again (MANIFEST) by Anonymous Monk
in thread Catalyst Help once again by code-ninja

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.