Why not a Mojo::File interface for: L38 <https://github.com/kraih/mojo/blob/mojo_file/lib/Mojo/Asset/File.pm#L38> | has tmpdir => sub { $ENV{MOJO_TMPDIR} || File::Spec->tmpdir };
On Mon, Jan 2, 2017 at 1:45 PM, Stefan Adams <[email protected]> wrote: > > On Mon, Jan 2, 2017 at 1:35 PM, sri <[email protected]> wrote: > >> encapsulate all that stuff a bit in a new object >> > > I like this. It gives me a single spot to understand file-based > operations and it allows me to see a uniform interface. > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
