News for hackers. Stuff that matters.
Re:Black Perl by ascuttlefish on Saturday January 30, 2010 @06:38PM (#1089522)
Can anyone enlighten a cuttlefish about what this means/does?
Re:Black Perl by jrockway on Saturday January 30, 2010 @06:46PM (#1089545)
There are a few places where it seems to me the program would die, but they are surrounded by conditionals that are always false... so I am not sure.

I am downloading Perl 3 and am just going to run the thing.

Edit: OK, yacc is too new, make is too new, the C compiler can't understand 1989 C, etc... so I have lost interest.

Re:Black Perl by nfnaaron on Saturday January 30, 2010 @08:19PM (#1089729)
This is a good demonstration of why, if you're saving/archiving/safeguarding important code, that you save the code, the toolchain, environment and hardware. Important enough to make all that effort, anyway. Like maybe climate research code, that kind of important and long-term relevant.
Re:Black Perl by ascuttlefish on Saturday January 30, 2010 @09:04PM (#1089799)
I work in an archives and for the reasons you mention many archives--with the exception of various national and large-scale archives--are failing in their efforts to preserve born digital records.

It's a thorny problem, really. In many cases, we have to preserve hardware required to decode information--think u-matic tape players, 5.25" floppies, Iomega zip drives, etc.--as well as software to decode the information on the files.

Re:Black Perl by bdr on Sunday January 31, 2010 @02:10AM (#1090192)
Could you store VMs?
Re:Black Perl by anr on Saturday January 30, 2010 @06:54PM (#1089562)
I think this poem was present in Programming Perl, 1st edition, which covers Perl 4.
Re:Black Perl by koenigdavidmj on Saturday January 30, 2010 @07:27PM (#1089638)
Perl 4 and the book's first edition were released simultaneously, and Perl 4 was merely a version of the Perl 3 interpreter.

Depending on who you ask, this decision was either for convenience ("this book teaches Perl 4" is easier to say than "this book teaches Perl 3.numbers.here") or marketing ("look--Perl 4 came out!"), the latter sort of like Slackware's increment of version numbers from 4 to 7.

Re:Black Perl by pyre on Sunday January 31, 2010 @04:11AM (#1090298)
> the latter sort of like Slackware's increment of version numbers from 4 to 7

That was done because all of the other distros at the time had higher version numbers and people were looking at Slackware with a, "Well, it's only version 4. RedHat/Mandrake/etc are already on version 7!" attitude. I remember there being a written (web) justification for it.

Re:Black Perl by patrickas on Saturday January 30, 2010 @06:48PM (#1089553)
It's just a poem, written in Perl instead of English. perl (ver3 or 5 for the updated poem) can compile it but running the poem doesn't do anything useful.
Re:Black Perl by ascuttlefish on Saturday January 30, 2010 @07:06PM (#1089589)
Ah, okay, thanks! I guess I assumed that it was infamous because it did something terrible. Still pretty neat!
Re:Black Perl by anr on Saturday January 30, 2010 @06:49PM (#1089555)
If I recall correctly, Perl poetry should parse, there's no need for it to do something useful.
Re:Black Perl by cmallen on Saturday January 30, 2010 @07:59PM (#1089703)
I'm confused, are you a cuttlefish or a scuttlefish?
Re:Black Perl by ascuttlefish on Saturday January 30, 2010 @08:59PM (#1089796)
I'm an all-seeing cuttlefish. However, that was too long for an HN username. Despite seeing it all, I comprehend very little and require the help of my betters to understand. Hence the questions.
Re:Black Perl by cmallen on Sunday January 31, 2010 @12:08AM (#1090033)
This is potentially the most adorable thing I've ever seen on this site.
Re:Black Perl by klipt on Sunday January 31, 2010 @01:16AM (#1090127)
You can never be sure on the internet. If I were Cthulhu, I'd claim to be a little cuttlefish too.