From mathew.blair.robertson at gmail.com Mon Jun 1 19:16:38 2020 From: mathew.blair.robertson at gmail.com (Mathew Robertson) Date: Tue, 2 Jun 2020 12:16:38 +1000 Subject: [Melbourne-pm] Is this list still active Message-ID: Hi PM's, There haven't been any posts in recent times - just checking if the list is still active ?! cheers all, Mathew Robertson -------------- next part -------------- An HTML attachment was scrubbed... URL: From ddick at fastmail.fm Mon Jun 1 19:20:14 2020 From: ddick at fastmail.fm (David Dick) Date: Tue, 2 Jun 2020 12:20:14 +1000 Subject: [Melbourne-pm] Is this list still active In-Reply-To: References: Message-ID: <1ab51791-7615-5d08-53c1-7f77013fa479@fastmail.fm> An HTML attachment was scrubbed... URL: From andrew at sericyb.com.au Mon Jun 1 19:26:55 2020 From: andrew at sericyb.com.au (Andrew Pam) Date: Tue, 2 Jun 2020 12:26:55 +1000 Subject: [Melbourne-pm] Is this list still active In-Reply-To: References: Message-ID: <71dfa7d3-5661-15d0-85eb-95cdedf58761@sericyb.com.au> On 2/6/20 12:16 pm, Mathew Robertson wrote: > There haven't been any posts in recent times -? just checking if the > list is still?active ?! Seems to be! Cheers, Andrew From matt.cameron at websiteplus.com.au Mon Jun 1 19:48:39 2020 From: matt.cameron at websiteplus.com.au (Matt Cameron) Date: Tue, 2 Jun 2020 12:48:39 +1000 Subject: [Melbourne-pm] Is this list still active In-Reply-To: <71dfa7d3-5661-15d0-85eb-95cdedf58761@sericyb.com.au> References: <71dfa7d3-5661-15d0-85eb-95cdedf58761@sericyb.com.au> Message-ID: These days I find myself playing more with nodejs - but always interested in what the perl community has to offer. On Tue, Jun 2, 2020 at 12:32 PM Andrew Pam wrote: > On 2/6/20 12:16 pm, Mathew Robertson wrote: > > There haven't been any posts in recent times - just checking if the > > list is still active ?! > > Seems to be! > > Cheers, > Andrew > _______________________________________________ > Melbourne-pm mailing list > Melbourne-pm at pm.org > https://mail.pm.org/mailman/listinfo/melbourne-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathew.blair.robertson at gmail.com Mon Jun 1 20:06:13 2020 From: mathew.blair.robertson at gmail.com (Mathew Robertson) Date: Tue, 2 Jun 2020 13:06:13 +1000 Subject: [Melbourne-pm] scalar(keys %foo) Message-ID: A question for the audience. Does "scalar(keys %foo)" materialise the list of keys, grabs its length, then throw away the memory? .. or is Perl smart enough to see that context, to understand that it just needs to count the keys ? thx -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at sericyb.com.au Mon Jun 1 20:10:26 2020 From: andrew at sericyb.com.au (Andrew Pam) Date: Tue, 2 Jun 2020 13:10:26 +1000 Subject: [Melbourne-pm] scalar(keys %foo) In-Reply-To: References: Message-ID: On 2/6/20 1:06 pm, Mathew Robertson wrote: > Does "scalar(keys %foo)" materialise the list of keys, grabs its length, > then throw away the memory?? .. or is Perl smart enough to see that > context, to understand that it just needs to count the keys ? I'm pretty sure that "scalar" causes the "keys" function to be called in scalar context, and it therefore only returns the number of keys. You can do the same in your own functions, for example by checking "wantarray", though that isn't usually necessary. Hope that helps, Andrew From dean at fragfest.com.au Mon Jun 1 23:46:24 2020 From: dean at fragfest.com.au (Dean Hamstead) Date: Mon, 01 Jun 2020 23:46:24 -0700 Subject: [Melbourne-pm] scalar(keys %foo) In-Reply-To: References: Message-ID: <12f2a4143fc52918505123c0bf9d209e@fragfest.com.au> it fetches HvUSEDKEYS(hv); which generally just fetches a structure member (it's a little more complex if you're iterating over the has, or if it's tied) Dean On 2020-06-01 20:06, Mathew Robertson wrote: > A question for the audience. > > Does "scalar(keys %foo)" materialise the list of keys, grabs its length, then throw away the memory? .. or is Perl smart enough to see that context, to understand that it just needs to count the keys ? > > thx > _______________________________________________ > Melbourne-pm mailing list > Melbourne-pm at pm.org > https://mail.pm.org/mailman/listinfo/melbourne-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean at fragfest.com.au Mon Jun 1 23:16:13 2020 From: dean at fragfest.com.au (Dean Hamstead) Date: Mon, 01 Jun 2020 23:16:13 -0700 Subject: [Melbourne-pm] Is this list still active In-Reply-To: References: Message-ID: <698073dfc7993bf793f4df2fe4094f30@fragfest.com.au> Nice to see some activity Please join us on facebook at https://www.facebook.com/groups/perlprogrammers/ and #australia on irc.perl.org Dean On 2020-06-01 19:16, Mathew Robertson wrote: > Hi PM's, > > There haven't been any posts in recent times - just checking if the list is still active ?! > > cheers all, > Mathew Robertson > _______________________________________________ > Melbourne-pm mailing list > Melbourne-pm at pm.org > https://mail.pm.org/mailman/listinfo/melbourne-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From wayland at wayland.id.au Tue Jun 2 01:08:06 2020 From: wayland at wayland.id.au (Timothy Nelson) Date: Tue, 2 Jun 2020 18:08:06 +1000 Subject: [Melbourne-pm] Is this list still active In-Reply-To: References: Message-ID: Yes, but we're practicing social distancing by not sending messages to the list :p On Tue, 2 Jun 2020, 12:17 pm Mathew Robertson, < mathew.blair.robertson at gmail.com> wrote: > Hi PM's, > > There haven't been any posts in recent times - just checking if the list > is still active ?! > > cheers all, > Mathew Robertson > _______________________________________________ > Melbourne-pm mailing list > Melbourne-pm at pm.org > https://mail.pm.org/mailman/listinfo/melbourne-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean at fragfest.com.au Wed Jun 24 14:15:59 2020 From: dean at fragfest.com.au (Dean Hamstead) Date: Wed, 24 Jun 2020 14:15:59 -0700 Subject: [Melbourne-pm] Perl 7 announced Message-ID: <88e3302eef58fd541f5c3b958b5259c3@fragfest.com.au> https://news.perlfoundation.org/post/perl_7_announced_sawyerx_conference The Perl programming language will take a strategic step forward with the planned release of Perl 7. This development, announced by Sawyer X at the Perl Conference in the Cloud, will enable usability enhancements as standard and disable antiquated behaviours. Perl 7 will make it easier to attract new developers and add quality-of-life improvements for existing developers while maintaining broad compatibility with existing codebases. This paves the way for future major versions enabling further and more significant improvements to the language. Out-of-the-box settings of Perl 7 include strict language syntax which improves code quality and consistency, as well as other modern defaults. A compatibility mode allows version 7 and later Perl to operate with older defaults such as those from Perl 5, so older scripts and modules can still be used unmodified. Overall, the change to Perl 7 should reduce the tribal knowledge required to get applications up and running quickly and reliably. The changes that enable Perl 7 are under active development and major stakeholders are testing alpha code. Release candidates will be made available over coming months and community engagement and feedback is welcome. Full details of the changes are outlined by brian d foy on Perl.com Ken Power, Vice President of Product Development, cPanel L.L.C. is pleased with the announcement. He commented: "We?re very excited about the announcement of Perl 7! More than just a new version or a number, it represents a sustainable path forward for the Perl language and community. It represents an opportunity to rejuvenate interest in Perl, to attract new developers, to grow the community, and provide assurance for companies like cPanel that the language can meet the expectations of the modern developer." What about Perl 5? Perl is an important component of many GNU/Linux and Unix systems, and used in software such as Git, autoconf, and GNU parallels. First released by Larry Wall in 1994, Perl 5 was a major write to the language he invented as a personal work project in 1987. Perl popularized regular expressions, a feature now found in almost every mainstream language, and was instrumental in the advancement of the Web in its early days. Perl releases on a yearly schedule. The current release is v5.32, shipped in June 2020 which will go into long term support once the new version is released. This support is expected to be tailed off between 2025 and 2030, allowing time for organisations to plan the changes needed to accommodate newer releases. (What about Perl 6?) Stuart Mackintosh, President of The Perl Foundation stated: "On behalf of The Perl Foundation, I want to thank the people who have invested a great deal of time and effort planning this release and the volunteers and companies who have supported and sponsored our work." More information For more information about this announcement, please contact The Perl Foundation press office at press at perlfoundation.org Technical discussions are taking place on the Perl IRC channels and around the Conference in the Cloud this week. General discussion uses the hashtag #Perl7. _______________________________________________ Sydney-pm mailing list Sydney-pm at pm.org https://mail.pm.org/mailman/listinfo/sydney-pm