Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

masak (6289)

masak
  (email not shown publicly)
http://masak.org/carl

Been programming Perl since 2001. Found Perl 6 somewhere around 2004, and fell in love. Now developing November (a Perl 6 wiki), Druid (a Perl 6 board game), pls (a Perl 6 project installer), GGE (a regex engine), and Yapsi (a Perl 6 implementation). Heavy user of and irregular committer to Rakudo.

Journal of masak (6289)

Saturday November 01, 2008
12:42 PM

November 1 2008 -- the .end is here

[ #37779 ]
56 years ago today, the 10-megaton hydrogen bomb Mike detonated in the Pacific Ocean in the US-conducted Operation Ivy. The Wikipedia article about Mike says:

Edward Teller, who was perhaps the most ardent supporter of the development of the hydrogen bomb, was in Berkeley, California, at the time of the shot. He was able to receive first notice that the test was successful by observing a seismometer, which picked up the shock wave travelling through the earth all the way from the South Pacific test site. In his memoirs, Teller wrote that he immediately sent an unclassified telegram to his colleagues at Los Alamos which contained only the words—for security purposes—"It's a boy."

Today's humble contribution to the furthering of all things November was to implement the .end method on lists. The @array.end syntax is supposed to be one of the replacements for the familiar Perl 5 $array[-1] syntax (the other being @array[*-1], which does not yet work in Rakudo).

I haven't gone through the p6w source code to check if it could be used anywhere, but this is one of those small methods that will be taken for granted once Rakudo Perl 6 is in wider use.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.