Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Perl News

( #23771=superdoc: print w/ replies, xml ) Need Help??

For the latest news on what's happening in the Perl world, check out these sites:

If you have a Perl-related news item you'd like to share, you may post it in the Perl News section. Please try to avoid duplicating news; but pointers (with summaries) to important stories on other sites are acceptable here.

Perl News
chef cpan cookbook
1 direct reply — Read more / Contribute
by melezhik
on Mar 25, 2013 at 07:22
    
    In this post I want to share my chef cookbook called cpan.
    Chef is the modern platform for deploy automation and configuration.
    One of chef great feature - one may create custom recipes to deploy/configure
    specific applications, written on any languages. When I first met with chef,
    I had already had some experience on deploying perl applications. I used standard build cycle:
    
    
    perl Build.PL ./Build ./Build installdeps ./Build test ./Build install
    So the idea of integrating perl application install come into my mind in natural way. With cpan cookbook one may do standard perl build/test/install idioms using chef. Here I am putting some use cases, just to give some sense of what it is. If you like it, you may learn more on http://community.opscode.com/cookbooks/cpan.
    Cpan cookbook use cases
    Installing application, distributed with tar-ball. Let's say you have already fetch and store tar-ball with
    others chef resources (the following code is self-explanatory). So you may easily install it into given install base:
    
    
    remote_file '/tmp/app-0.0.1.tag.gz' source 'http://local.server/app-0.0.1.tag.gz' end execute 'cd /tmp/ && tar -xzf app.tag.gz' cpan_client 'my application' do user 'root' group 'root' install_type 'application' action 'install' install_base '/path/to/your/application/home' cwd '/tmp/app-0.0.1' end
    The same thing with your perl5lib paths taking into account ('/home/user/alex/perl5lib/'):
    cpan_client 'my application' do user 'root' group 'root' install_type 'application' action 'install' install_base '/path/to/your/application/home' cwd '/tmp/app-0.0.1' inc %w{ /home/user/alex/perl5lib/ } end
    If you need just installing arbitrary cpan module, here some examples to start. Install by given link:
    cpan_client "http://search.cpan.org/CPAN/authors/id/M/MA/MARKSTOS/CGI. +pm-3.59.tar.gz" do user 'root' group 'root' module_name 'CGI' action 'install' end
    Or just rely on your cpan mirrors:
    cpan_client 'CGI' do user 'root' group 'root' install_type 'cpan_module' action 'install' end
    With cpan cookbooks you may even play with version requirements. Require minimal version:
    cpan_client 'CGI' do user 'root' group 'root' version '3.55' install_type 'cpan_module' action 'install' end
    Do not install if already installed:
    cpan_client 'CGI' do user 'root' group 'root' version '0' install_type 'cpan_module' action 'install' end
    Try to upgrade to highest possible version:
    cpan_client 'CGI' do user 'root' group 'root' install_type 'cpan_module' action 'install' end
    If you install by distributive, you may even require concrete version:
    cpan_client 'http://search.cpan.org/CPAN/authors/id/M/MA/MARKSTOS/CGI. +pm-3.59.tar.gz' do user 'root' group 'root' module_name 'CGI' version '=3.59' action 'install' end
    Other examples to check out is on http://community.opscode.com/cookbooks/cpan.
Pinto on FLOSS Weekly next Wednesday
No replies — Read more | Post response
by jthalhammer
on Mar 23, 2013 at 05:02

    I'll be doing a live webcast about Pinto with Randal Schwartz for FLOSS Weekly. Tune in to http://live.twit.tv next Wednesday, March 27 at 08:30 (Pacific Time) to the see the show. Your can send in your questions in real-time via the #twitlive channel on irc.twit.tv. See you then!

    Pinto is a robust tool for creating custom CPAN-like repositories of Perl modules. You can fill your repository with any combination of private and public modules, and then build/test/install them using the standard tools (e.g. cpan, cpanm, cpanp). Since you control the repository, you'll get exactly the same modules every time. Pinto also has some novel tools for tracking and managing changes, so you can upgrade modules with confidence and control.

perl distributive "early" testing with jenkins
2 direct replies — Read more / Contribute
by melezhik
on Mar 18, 2013 at 05:37

    Often when deploying application one may face the risk of divergence between testing and production environment. Even though you have a stage servers `like production one', it'd be reasonable to check distributive in production environment before release is happened. I would call it `early` testing. Yes, of course, some subtle bugs will arise only in runtime phase, and unit test cannot cover it all, I say here about prerequisite unmet issues. In perl world unit tests and prerequisites checks are executed in standart way. One follows standard procedure, when installing things.

    I put here example for Module::Build based project, but with ExtUtils::MakeMaker it's almost the same:

    perl Build.PL # check dependencies and generate build file ./Build ./Build test # run unit tests

    So, why not to automate this process in continues integration approach, like for example Jenkins does?

    1. Upload distributive to production server
    2. Unpack it
    3. Run standard perl Build.PL/Makefile.PL cycle to execute unit tests and check prerequisites
    4. If anything goes wrong you know it in good time, before release is happened!

    So this is what I've done in jenkins perl-smoke-test plugin. Please check it out and try to use it!

    Links:
YAPC::NA Austin - Call for speakers extended to end of month
No replies — Read more | Post response
by raiph
on Mar 18, 2013 at 00:08
    The cut off for submitting talks for YAPC::NA in Austin was supposed to be the 15th, but we’re moving the deadline to the end of this month. I've posted a link in reddit; maybe others can spread this news in forums, channels, mailing lists, etc. frequented by folk you'd like to see giving talks at YAPC. Thanks!

    Later,

    YAPC::NA 2013 Team

Salt Lake Perl Mongers (Reboot)
1 direct reply — Read more / Contribute
by davido
on Mar 15, 2013 at 14:10

    The Salt Lake Perl Mongers has been rebooted. We intend to hold monthly meetings, or occasional "emergency social meets" for those times when the monthly meeting doesn't come together. If you're in the Salt Lake area, join our mailing list and get involved.

    The mailing list subscription page is available here. Once we've organized our first event I'll make one more announcement here in the Perl News section.

    Perl Mongers groups get together for presentations and discussions about Perl and Perl-related topics. There's usually a social component as well. Perl Mongers is a great way to get to know the local Perl community, as well as to learn and share ideas. Over the past couple of years I've found the PM groups that I've participated in (Los Angeles, and Thousand Oaks) to not only be excellent resources, but also a lot of fun.

    The Salt Lake Perl Mongers group seems to be arousing a lot of local interest. Please join us if you're in the area!


    Dave

Jenkins plugin for building perl applications
1 direct reply — Read more / Contribute
by melezhik
on Mar 15, 2013 at 03:45

    Jenkins - is well known continues integration server. One of it's great features - one may extend it by writing custom plug-ins. Recently I have created one plug-in to build and make distributive of perl applications.

    It implements standard build scheme:
    • cd to source directory
    • install dependencies from source directory into local directory
    • and optionally create distributive from source directory

    Other features are:

    • find 'tagged' directory with maximum version number ( implementing install from subversion tags )
    • applying different patches ( install other cpan modules )
    • both Makefile.PL and Build.PL are supported
    • colour output
    • and some others ...

    Links:
Perls of Christmases Past, Present and Future (YAPC::NA 2013 Keynotes)
1 direct reply — Read more / Contribute
by raiph
on Mar 09, 2013 at 00:34
DBD::Sybase 1.14 for ActiveState Perl 5.16 Windows 32bit and 64bit
1 direct reply — Read more / Contribute
by jfroebe
on Mar 06, 2013 at 18:18

    Hi all,

    I just released DBD::Sybase 1.14 for Active State Perl 5.16 Windows 32bit and 64bit. Enjoy and please let me know of any issues you run into

    The zip file contains both the 32bit and 64bit PPMs

    Jason L. Froebe

    Blog, Tech Blog

YAPC::NA 2013 (Austin, TX June 3-5) Update
2 direct replies — Read more / Contribute
by raiph
on Feb 23, 2013 at 01:24

    If you want to be part of what will probably be a pivotal conference shaping the future of Perl, go register now. If you can't make it, please spread the word instead. Thanks. :)

    Later,

    YAPC::NA 2013 Team

Bill Harp massive heart attack, currently in ICU, prognosis not good
5 direct replies — Read more / Contribute
by merlyn
on Feb 21, 2013 at 20:26
    Many of you know of my best buddy of three decades, Bill Harp. He's the guy who planned all those wonderful Stonehenge parties, and helped me out with other marketing activities over the years.

    I'm currently starting a 13-day cruise around South America and I got a text from his wife Michelle. I don't have many details, but apparently he suffered a major heart attack yesterday, and lost oxygen for quite a while, went into surgery to insert stents, and is currently in a medically induced coma. They hope to revive him tomorrow, but there's a lot going on.

    Please keep Bill and Michelle in your thoughts. Thank you.


    UPDATE: Bill never recovered. Dead a few hours ago.

    -- Randal L. Schwartz, Perl hacker

    The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Story about open source development: “The Human Hacking Field Guide”
No replies — Read more | Post response
by shlomif
on Feb 19, 2013 at 12:33

    You can find a story (= a novella) I wrote about open-source development (with some focus on Perl) titled The Human Hacking Field Guide. It is somewhat-non-realistic realism fiction, with many jokes sprinkled in. And its text in English, along with its DocBook 5/XML source is made available under the Creative Commons Attribution-ShareAlike Licence which gives a lot of permission for a lot of re-use, and was recently placed in a GitHub repository for easy check out, forking, issue reporting, and some pull requests.

    I’d be happy to hear any comments, hear if you enjoyed this story, or if you found some faults - your criticism (I am not a native English speaker). If you liked the story, I would appreciate if you can share it on-line and off-line.

    Here is the summary:

    Jennifer is an honours student in her high school senior year in 2005 near Los Angeles, California. Encouraged by her best friend, Taylor, she decides to try her luck at becoming an enthusiast of open source software development. Taylor puts her under the tutorship of “Erisa”, a more experienced and also female developer of open source software, who is a self-aware punk, who considers the pop culture, that Jennifer is a fan of, detestable. Jennifer remains determined to learn how to develop open source software from Erisa, but with a few surprises along the way.

    Cheers and happy reading.

13 ideas for YAPC::NA 2013 (and other news)
No replies — Read more | Post response
by raiph
on Feb 15, 2013 at 14:34

    A quick update on our progress:

    • 124 registrants from 10 countries
    • 6 sponsors
    • 27 talks submitted, 3 accepted
    • wiki pages updated in last week
    • 13 ideas (keep 'em coming!)
    • Added History page

    Later,

    YAPC::NA Team

Can a new name or version number change the way Perl is perceived?
2 direct replies — Read more / Contribute
by Arunbear
on Feb 15, 2013 at 06:26
XKCD references Perl!
5 direct replies — Read more / Contribute
by RyuMaou
on Feb 08, 2013 at 09:31
Ideas Collector for YAPC::NA 2013, June 3-5, Austin, TX
No replies — Read more | Post response
by raiph
on Feb 07, 2013 at 09:24
    Continuing with the tradition started last year, we’ve set up a site specifically for you to submit and vote on ideas for YAPC::NA 2013.

    Whether it be ideas for speakers you’d like to come see present, or the subject of talks you’d like to see, or maybe a social activity you’d like to participate in, any idea is welcome.

    And then everyone can vote on those ideas so that the most popular ideas will float to the top.

    http://ideas.yapcna.org/

    Quick update on our progress

    We’ve now added pages for Travel, Parking, Lodging, and Sponsorship to the main website and a Things To Do page on the wiki. As of today, Thursday, 78 folk have registered from 9 countries and 35 monger groups and we have five sponsors so far.

    Want to help us? Please email admin@yapcna.org.


Add a piece of Perl News
Title:
Text:
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!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others musing on the Monastery: (19)
    As of 2014-10-23 13:55 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      For retirement, I am banking on:










      Results (125 votes), past polls