$randInt = Math::NumberCruncher::RandInt(10,50);
Returns a random integer between the two number passed to the function, inclusive. With no parameters passed, the function returns either 0 or 1.
These days, public discussion can seem really difficult and painful. Trolls making deliberately destructive comments, exaggerated dramatic statements and even abuse seems common, whether the discussion is online or in-person.
Many of us have experienced real pain and suffering in these discussions. How can we stop it?
Individuals and communities can take action to keep honest and valuable discussions from degenerating into useless drama. In this talk, Ruth shares ideas for managing your own perceptions of what is happening in a rancorous conversation. She shares a framework that enables you and your communities to vaccinate your discussions against trolls and drama, reclaiming useful public discourse for us all.
The Perl Foundation (TPF) is passionate about helping our software communities flourish.
Jump in a time machine and let's see some suggestions for how we can improve Perl, Raku and TPF's branding.
use utf8;
does not enable Unicode output - it enables you to type Unicode in your program. Add this to the program, before your print()
statement:
binmode(STDOUT, ":utf8");
See if that helps. That should make STDOUT
output in UTF-8 instead of ordinary ASCII.
package Foo {
use Moo;
has a => (is => "ro");
has b => (is => "ro");
}
my $bar = Foo->new(a => 42);
# Print only 'a'
say $_ for keys %{ $bar }
# Print all attributes
say $_ for keys( %{
'Moo'->_constructor_maker_for('Foo')->all_attribute_specs
});
# don't forget this if you want to output utf8 characters
binmode(STDOUT, ":utf8");
# don't forget this if you want to output utf8 characters
binmode(STDOUT, ":utf8");
This blog post describes a model that we found useful for talking about CPAN dependencies and reverse dependencies at the QA Hackathon. At the head of the river is Perl itself with the core modules. The river flows into the sea, which contains all distributions that aren't used by any other distribution. Other distributions sit somewhere along the river, their position determined by their reverse dependencies. This post introduces the core concepts, but nothing more.
Remember the saying from Perl-people? "We suck at marketing". Well, not all of us. Some of us are rather good at marketing. Some well-known Perl heroes are good at what they do and good at promoting that, and promoting Perl at the same time. I do my bit and it seems to be appreciated every now and then. I will tell you what I do for marketing Perl, what I think the effect of that is, and how easy it is for you to join me to show other people how awesome Perl is. I will mention some of my Perl heroes, YAPC's, Fosdem, workshops, PM meetings, tuits, buttons, stickers, and more.
A persistent key-value store for fast storage environments.
RocksDB is an embeddable persistent key-value store for fast storage.