user-pic

awwaiid (Brock Wilcox)

Subscribe to feed Recent Actions from awwaiid (Brock Wilcox)

  • Matt S Trout (mst) commented on A perl of your own

    nxadm, 'use true;' gets rid of the 1; and MooseX::AutoImmute demonstrates a solution for ->meta->make_immutable (in Moo, immutability happens automatically on first ->new).

    What I'm looking at here is a way to evolve a set of defaults without needing to understand any of the cleverer approaches - in my case, I think I'd rather have it imply 'use MyApp::Defaults;' or similar and centralize everything there with Syntaxt::Collector or sanity.pm or whatever - but I figured first I'd do the simplest thing that could possibly work and experiment.

    I've got a pull request outstanding…

  • nxadm.wordpress.com commented on A perl of your own

    Never heard of "use true". Thx. The idea looks interesting.

    To nitpick: there are a lot of (potentially well written) admin/devops-code there that does not have a proper cpan project structure. It may be bad, but it's certainly a real world scenario, even for people writing modern Perl. I think specifically of longer nagios plugins, and the like. I guess it's impossible to make everyone happy, but it good to know what the limitations are.

    C.

  • Matt S Trout (mst) commented on A perl of your own

    nxadm, I think those people are as served as they're going to get by the capacity to have single-line feature bundles.

    Getting from 'one line' to 'no lines' requires a trade-off - in this case 'run this using the myperl script, or apply myperl-rewrite to it'. Doc patches making this clearer would be welcome, but you can't have 'no lines' and 'your old code still works', and I somehow doubt nagios would be amazingly impressed if we broke half the existing plugins to make it easier to write new ones :)

  • Steven Haryanto commented on perl live coding

    Is the video running at real time speed? You sure are fast!

  • vividsnow commented on perl live coding

    Not real time of course - this is condensed version, because it is boring to watch chars appearing one by one )

Subscribe to feed Responses to Comments from awwaiid (Brock Wilcox)

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.