I have been thinking a bit more about your post while doing a few things to complete the setup (Wifi install and Internet setup, OS upgrade, etc.) of my Raspberry Pi 2 today.

Two things came to my mind.

First, it seems that the cpan utility fails on some at least of the older Raspberries (not enough memory? missing libraries? Hum, not clear to me), leading people to use cpanm. Since the Pi Zero is on the lower end, there might also be some trouble. Using core Perl on a Pi is easy and works well, but if there are difficulties with module installation, it would make Perl much less useful. Well, let me stress that I don't know much about what I am talking at this point, but there may be a few things to investigate about.

The second thing is the main programming tool for Raspberry is currently Python, with some special Pi libraries geared toward Python. While I have nothing against Python (which I have happily used for a couple of years until I discovered Perl), except that I am no longer really able to use Python (last time I used it seriously was at least 11 years ago, it's too old in my mind and the language has changed to a certain extent), it might make sense to try to port some of these libraries to Perl modules.

I got my Pi 2 only a couple of weeks ago (and, as I said already, was able to set up Wifi and Internet only today), so my knowledge on the subject is still extremely limited, actually next to nothing, but it seems to me that we might want to think about making it possible (and easy) for Perl to become more mainstream on these platforms. Well, perhaps some people have already taken steps in this direction, but I haven't seem much information about it, except for this: http://raspberrypi.citrusperl.com/.

Well, just some food for thought, hoping it might be useful.


In reply to Re: Pi Zero by Laurent_R
in thread Pi Zero by hippo

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.