Perl 5.8.0 Released
twoshortplanks writes "The latest version of Perl has been released, with new features such as better Unicode support, a new threads implementation, new IO layer support, and a whole plethora of bundled modules - plus a wonderful collection of regression tests and new documentation. The release notes and links to mirrors for download are on dev.perl.org." This is not a release candidate, it's the real thing, representing over two years of work by patch pumpkin holder Jarkko Hietaniemi and his merry band. Hugo van der Sanden is the new pumpking for perl 5.10.
or at least make it easier to write readable code...
we could only wish
so this has nothing to do with them
I assume that the source only is released so far. Time to start porting it to HPUX! I wonder if this will fix problems with Oraperl on HPUX 10.20... probably not.
Moderation: Put your hand inside the puppet head!
c to the x
fuck you, CLiT.. i bet this appears before you even claim FP on this thread.
goatse.cx
Many of you have noticed that CmdrTaco has changed a few things in Slashcode this week. The three changes I've observed so far are:
Karma displayed as an adjective
Karma score determines posting limit
Client IP addresses placed in readonly mode more easily
None of these are earth-shattering, so I'm going to cover them as a group.
Karma score determines posting limit:
Taco reminds everyone in this (non-archived) post that:
"KARMA DOES NOT MATTER". He goes on to prove this by making karma determine how many times you can post a day. Remember, you shouldn't use all caps, because caps is like being wrong. Here's a summary of how important karma actually is now, and while some of these details may be off, this reflects my best knowledge from reading Slashcode:
Karma: (PPD is posts per day)
26_50 : Post at 2, 25 PPD, Karma = Excellent
12_25 : Post at 1, 10 PPD, Karma = Good
1_12 : Post at 1, 10 PPD, Karma = Positive
Zero : Post at 1, 10 PPD, Karma = Neutral
-9_-1 : Post at 0, 2 PPD, Karma = Bad
-24_-10: Post at -1, 2 PPD, Karma = Terrible
Note that (as Taco points out) these are the default values in Slashcode atm; Slashdot itself may at any time be running with different values. Each IPID/SubnetId is allowed 10 AC posts per day, unless an IP is being 'abused', at which point things get more complicated. So the land of -1 trolling should be moving to threshold Zero, AC. Taco stated on IRC that the rate limiting change was made to prevent scripted crapflooding from -1 Accounts. I'd love to see a link to this crapflooding (I've never seen it) so if any of you have seen it, email me at operation_mongoose 'at' ziplip.com.
Karma adjectives:
Here's CmdrTaco's journal on the subject, and here's the non-archived discussion on the topic. Read it while you can, it will be deleted in two weeks. Taco states that he didn't just enable comments in his journal because he "didn't want people trolling his journal". Additionally, all the comments he made WRT to changes in the Karma system will be deleted. Make of this what you will.
Client IP addresses placed in readonly mode more easily
My details on this aren't very good, but as many have pointed out, the "readonly" error message seems to be popping up more often. The message is "You can't post to this page." and it appears when your IP address has been marked readonly. Basically, readonly mode means you're banned from posting anything, but you can still read the site. I think the only modification was one to the criteria for being placed in readonly mode, but I don't know exactly what the change is, only that pudge mentioned in IRC that he turned it up too high, and that now everything should be "Ok". If you've been placed in readonly mode, feel free to leave a comment and tell us what you did to get there. AFAIK, you can be placed in readonly mode for posting Offtopic comments as AC, or for posting a lot of comments that receive negative moderation as AC (ex: Windows is a pretty good O/S). That's just my experience; fill me in on yours.
That's all for now,
-s.
patch pumpkin n. [Perl hackers] A notional token passed around among the members of a project. Possession of the patch pumpkin means one has the exclusive authority to make changes on the project's master source tree. The implicit assumption is that `pumpkin holder' status is temporary and rotates periodically among senior project members.
This term comes from the Perl development community, but has been sighted elsewhere. It derives from a stuffed-toy pumpkin that was passed around at a development shop years ago as the access control for a shared backup-tape drive.
I used to bulls-eye womp-rats in my pants
Or is it? This release actually came out a few days ago (typical slashdot slowness on the announcment) and we haven't seen many downloads happen yet. In fact, the mailing list has gotten a lot of traffic saying that they shouldn't have released 5.8 because nobody uses Perl anymore because it's error-prone and poorly-documented. I hope this doesn't spell the end for Perl...
visit slashdot.org/comments.pl, it's the list of articles posted + journals posted. When you post a journal, it's subject gets posted there, alongside the journals of other people, alongside regular articles that hit the front page.
If you look now, you'll see the following message in the list:
--begin--
Once all the documentation is in order, go with her to the
American embassy in Tokyo and begin the process. You can
drop off packets 1 and 2 right away and she can take packet
3 with her to the interview which will be held within a
couple weeks. After that, she can receive her conditional
permanent resident visa in the mail and be free to come
back to the U.S. without any hassle at all. It doesn't
have to take 390 days (despite what the INS agents tell
you).
If you can't take a month and a half off to fly to Japan,
get married, and stick around to prepare for her visa
application, this simply won't work, though. Likewise,
if you don't have the money to apply, then you'll be SOL
at the embassy. Do your homework.
--end--
Some will quickly point out that this is not stegonography because it's not buried in an image. Wrong. Stego is the science of hiding messages, such as Osama bin Laden sending Mohammed Atta a basket containing 9 oranges and 11 apples. So we see taht the above might be stego, but a VERY lame attempt at it.
Like most programmers, I use perl on a daily, if not hourly, basis. It is great for prototyping, proofs of concept, and the inevitable "glue" code. So I have been anticipating 5.8 for some time.
It's great to hear that they finally fixed the problems with threading, and Unicode support was a long time coming, but I'm sure well worth the wait. It is a shame the Perl team wasn't able to add true OO support and exception handling to this release, but I guess it is just another reality of open source software that projects are steered according to the whims of the programmers and not to what the users actually want. I'll be switching to Python, and I urge others to do the same.
Karma: Good (despite my invention of the Karma: sig)
Hugo van der Sanden is the new pumpking for perl 5.10.
Hugo van der Sanden is the new pump-king is he? Ohh yeah baby, pump me!
One of the goals of Perl 6 is to make non-trivial projects possible. That's good. The way it's being done is bad. Perl was once a lightweight, extremely flexible language. Now it's become a huge ugly monster. People wanted OO, so a nasty hack was bolted on top to allow some semblance of it. Now this nasty hack is being expanded. Sure, the code's different, but the basic form is the same. Kludge upon kludge upon kludge; I'd much rather have a nice, clean, pure language (and not one with loads of irritating whitespace thankyou very much).
The same goes for the syntax. All the switching between $, @ and % is really irritating (ask a newbie how to get at the length of the keys array of a hash inside a hash, for example), and the changes proposed for 6 are just making this worse -- it seems that Larry, in his infinite wisdom, wants to prefix every data type with a different hard-to-type character. Perl was only designed for the three data types, and adding more is a mess.
Perl 6 is a complete rewrite, but it keeps all the mess which has accumulated over the previous versions. This is not good. Sure, my const int $var = 27; may look neat (in the same way that, say, Pascal does), but $var isn't entirely constant, or entirely an integer, it's just a hack which makes it sort of behave like one. The whole thing is an exercise in pseudo-computer science masturbation with little real purpose except to please the managers who dislike the one thing that makes Perl special.
On a similar note is regexes. I'm an avid fan of regular expressions simply because a nondeterministic finite automata is far more flexible than linear code. However, Larry must have been smoking that cheap $2 crack when he wrote this. Does he want Perl 6 to be flex or something?
I won't be going on to use 6. It's a nice idea, but it's completely unnecessary. It won't make large projects any easier to manage (the language is still, at heart, an almighty hack -- an impressive one, but still a hack). It won't make OO any cleaner. It won't make development any faster. To put it bluntly, Perl scripts will still look less beautiful than our friend Mr Goatse. I'd prefer to use a language which has always been pure synthesis of science and engineering, not some half-baked imposter.
Perl 6 will be nice, but I'm guessing it will be the end of Perl. It can't do what it wants to do whilst still being based upon a nasty mess. There are now other options, which provide all of Perl's power and none of the mess. Sorry, but *BSD^H^H^H^HPerl is dying. Larry is buggering it up the ass without lubricants, just like Shoeboy is doing to Larry's daughter.
Use phpNuke instead! It looks similar to slashcode, but ITS A LOT BETTER and is written in a REAL PROGRAMMING LANGUAGE. Plus it dosent censor you like slash does!
Get it now
Dont forget to sign!
Whats black, blue and green and doesnt like sex?
The Girl Scout locked in my basement.
Whats the worst part about having sex with a six year-old?
Getting the blood out of your clown suit.
Whats the best thing about getting a hand job from a five year-old?
That little hand makes your thing look really huge.
Guy comes home from work to find his girlfriend sitting on the porch, crying.
Whats wrong, honey?
Im leaving you! I just found out youre a pdophile!
Pdophile? Why, thats a pretty big word for a ten year-old.
How can you tell when your sisters on her period?
When your dads dick tastes like blood!
Two pdophiles are lying on a beach tanning, one turns to the other and says, Excuse me, youre in my son.
What is the sickest sound you hear when fucking a nine year-old?
Her hips snapping!
What is the best sound you hear when fucking a 13 year-old?
Her hips snapping!
Whats 18 inches long, blue, veiny, and makes a woman cry?
Crib death.
How could the mans seven year-old son tell that his dad had fucked his eight year-old sister? His dads weiner tasted like blood!
Watson returns home to find Holmes in bed with a child. He shouts, Is this some sort of a schoolgirl?
Holmes replies, Elementary, my dear Watson.
So I was having sex with my girlfriend, and I decided I wanted to get kinky and try and do her in the ass. So I slipped around back; she looked over her shoulder at me and said, My, how presumptuous of you. I said, Presumptuous? Thats a big word for a ten year-old.
Two guys are walking down the street when a beautiful woman passes. The first guy says, Damn! Id love to tear her clothes off, do her in the rear, smear my fces all over her, slice off her breasts, chop her into little pieces, put her in a garbage bag and toss her into the river!
Second guy says, Yuck! Youre a sick bastard!
First guy says, Whatre you? A fag?
A kindergarten teacher is asking the kids what their father does for a living. All the kids answer except for Little Johnny. The teacher asks Little Johnny what his Dad does and Johnny replies, My dad is dead.
The teacher says, Thats terribile, but what did he do before he died?
Little Johnny replies, He turned blue and shit all over himself!
A guy calls in sick to work.
Whats wrong? asks the boss.
Im sick, the guy replies.
You sound all right.
No, Im really sick. Believe me.
Listen, you were fine yesterday, and we have a lot of work today. I want you in here. You cant be that sick!
Dude, I just banged my sister. Dont tell me Im not sick.
A little girl accompanied her father to the barbershop. While her dad received a haircut, the little girl stood next to the barber chair, enjoying a snack cake. The barber smiled at her and said, Sweetheart, youre going to get hair on your Twinkie.
I know, the little girl replied. Im gonna get tits, too.
An older man and a small boy walk hand in hand through the woods.
Boy: These woods sure are spooky!
Man: You think youre scared, Ive gotta walk out of here alone.
Whats the difference between Neil Armstrong and Michael Jackson?
One walked on the moon, and the other rapes little boys.
Has anyone read Michael Jacksons new book, The Ins and Outs of Child Rearing?
Q: Whats the difference between a dead baby and a golden delicious apple?
A: I dont cum all over the golden delicious apple before I take a bite out of it.
Q: Whats the difference between a dead baby and my girlfriend?
A: I dont kiss my girlfriend after sex.
Q: Whats the difference between a dead baby and a table?
A: You cant fuck a table.
Q: Whats special about a dead baby over all other forms of life?
A: You can achieve deep throat from whichever way you enter.
Q: What do you have when you have four dead babies, take away two, and add five more?
A: An orgy!
Q: Whats better than three 14 year-olds?
A: 14 three year-olds.
Q: Whats white and bobs up and down in a babys crib?
A: A pdophiles ass.
Q: Whats the safest way to play with a baby?
A: With a condom.
Q: Whats more fun than feeling up a dead baby?
A: Feeling up a dead baby with three nipples.
Q: What does a baby and a Pinto have in common?
A: Theyre fun to ride until they die.
Q: What do you get whan you dislocate a dead babys jaw?
A: Deep throat.
Q: Whats the difference between a baby and a grandmother?
A: Grandmothers dont die when you fuck them in the ass.
Q: Whats the best sound in the world?
A: Hearing dead babys hips crack under pressure!
Q: Whats worse than a having sex with a dead baby?
A: Having sex with a dead baby filled with razor blades.
Q: How do you stop a baby from choking?
A: Take your dick out of its mouth.
Q: Whats worse than finding a dead baby on your pillow in the morning?
A: Realizing you were drunk and made love to it the night before.
Q: How do you make a baby cry twice?
A: Wipe your bloody cock on his teddy bear.
Whats better than sex with a twelve year-old boy?
Absolutely nothing.
- posted by poopbot: news for turds, stuff that splatters
LH7B1e5xWr Post #295
Conectiva Linux has been growing and conquering its space by offering the latest technology on package management and immediate availability of new releases, to be merged into the distribution. With apt-get, you will solve all your RPM headaches with just a command line. Oh wait, you don't need to have a command line. Just run synaptic and select the packages to upgrade.One of the most advantages of Conectiva is the ready-to-go RPMs just after something like Perl is released.
www.conectiva.com.br
This package is provided with ABSOLUTELY NO WARRANTY.
Perl gets more and more features it is not designed for, making it potentially more and more ugly if you use all of them.
;-)
Maybe it is time to dump Perl and start designing Berl = the Beautyfull Extraction and Reporting Language
"A programmer without a job had a problem. "I know, I will learn perl," he said. The programmer now had two problems."
Version 1.1
Note to moderators : Do not moderate this post down, if you do then you support the editors stance on censorship and you support the end of free speech and
support evil organisations like Microsoft, RIAA, MPAA and laws like the CBTBA and DMCA
Sign this petition, let your voice be heard!
Slashdot is using censorship! It is trying to eridicate free and open discussion like we know slashdot to be, it has the following RESTRICTIONS in place to Censor you
They claim they don't, but they do, wonder why their are so many trolls, crapflooders and lamers on slashdot, because they are fighting for their rights! Slashdot is trying to silence the trolls. Remove the filters, the trolls get bored, and slashdot will be troll free!
- Lameness filters (It blocks a lot of legitmate posts)
- Unnessary posting delays. Hasnt taco learned to touch type? A lot of posts are typed in less than 20 seconds and it is a ANNOYING DELAY! 2 minute ban? Come on, so some are faster then others, big deal, some people have more to say than others
- Broken moderation system, The whole point is to sort the gems from the crap, yet a lot of posts designed to make a LIVELY DISCUSSION are MODERATED as flamebait! Come on, not everyone likes X, but just because some one bashes it dosent mean its Flamebait. Flame bait is more useful for DIRECT INSULTS and not legitmate discussions.
The "troll" moderation reason is fragmented and broken, why? Because they are trying to use an obsolete usenet term on a realtime discussion, "trolls" can cover a huge blanket of ideas.- Crapfloods, a meaningless flood of random letters or text, which the lameness filter does a crappy job at trying to stop, besides trolls have written tools using the opensource slashcode to generate crapfloods which bypass the filter
- Links to offensive websites, the most common one is known a http://www.goatse.cx, a awful site which shows a bleeding anus being stretched on the front page. Trolls sneak these links in by posting messages that look legitimate, but infact are sneaky redirects to the site. Common examples include rd.yahoo.com, www.linux-kernel.tk, goatsex.cjb.net, and googles "Im feeling lucky".
- Trying to break slashdot, this is actually a good thing, as it helps test slashdot for bugs. Famous examples include the goatse.cx javascript pop-up, the pagewidening post and the browser crashing post!
Subnet banning, this bans a user unless they email jamie macarthy with their mp5ed ipids. This is unfair, and banning a subnet BLOCKS A WHOLE ISP SOMETIMES, and not that individual user! This can cause chaos! But real trolls use annoymous proxys to get around this so THIS JUST BANS LEGITMATE USERS!But, the issue that concerens us the most, is the COMMENT QUOTA. A discrimatory system that stiffles discussion, cripples the community and will ultimateley destroy slashdot unless it is removed! Annoymous cowards are allowed only 10 posts a day! This is unethical! Users with negative karma only get two! That is DISCRIMINATION! How would you like to only be able to speak once a day, just because of the color of your skin. That would be racism, and slashdot is discrimitating on people just because of a negative number in a database! BOYCOTT SLASHDOT! LET THEM DIE!
We wan't these stupid useless restrictions REMOVED! This comment will be posted again and again until it does!
Inportant imformation for users
Boycott slashdot, they are pissing over their community, they are becoming like the RIAA and MICROSOFT! Do NOT TOLERATE THIS SHIT! Here are some real news for nerds sites. We don't need slashdot, slashdot deserves to die!
MSNBC
BBC NEWS
News.com
Linux online
Linux daily news network
Weird news from dailyrotten.com
Trollaxor, news for trolls, they are real people too!
CNN.com
New york times (free registration required)
LINUX.com
News forge
K5
Mandrake forum
Toms hardware
The register
Kde dot news
The linux kernel Archives
There are hundreds more, But this is where slashdot STEALS THE MAJORITY OF its "news" from.
Punish them, here are their emails, spam them, flame them goatse them!
Rob malda
Jamie Macarthy
ChrisD
Hemos
The others ones apperantly dont have an e-mail, probably because ROB MALDA IS PRETENDING HE IS JOHN KATZ.
Thank you for reading this, please feel free to repost this information, please reply to add your comments, fight slashdot and its CENSORSHIP
We use Perl down at the lab to check our email, write our reports and control our particle accelerator. If you are using a legacy language like C or C++ to perform any of these tasks, you have no business being in the software field. These languages are hard to maintain and produce buggy code. Perl is the only way to go for your needs, no matter what they are.
Im still having problems installing 5.8 on macosx. JFYI. dynlib issues.
Phwwttt..
M Felzien
"- New Threads Implementation: A new multithreading implementation called interpreter threads, or "ithreads" for short, is available, their use instead of the old "5.005 threads" is strongly encouraged. The major difference is that in ithreads any data sharing must be done explicitly."
Does this mean when you use fork() you must define a variable as global? I didn't think it was possible to declare a variable as global other than a "$var = 0". Also, does any one know if after forking how would a child return a variable to the parent?
I learned perl using 5.0.0.5, or somesuch. I learned using version 2 of the Perl Book.
:) It seems it would be a useful community project if someone were to take these changes and compile them into a sorted by type document-- I.E., all grammar changes, then all regexp changes, then library functions, etc., with sample code where germane.
:)
:)
It seems to be the case that the perl language has actually evolved a bit since 5. I am continually finding out about "new" features in Perl that i were not aware were there (invariably, the only ones that make a difference to me are the extentions to the Regexp system: there seems to be a whole class of (?X) operators that are not in my copy of the perl book).
Is there anywhere that summarizes the various changes to perl since version 5? there are the perldoc perldelta documents (here is the perldelta document for 5.8.0). However, these are complete, technical changelogs, and cover everything from language changes to small inconsistency smoothings to changes to obscure library functions to bugfixes in internal perl functions. Moreover, they do an even poorer job of explaining the consequences to the coder of things like (?>) than the perldocs
Really, now that i think about it, i guess what i would like is a summary of what they've done to the regexps since version 5.0
If no such document exists, maybe someone can write one and post it on PerlMonks
- super ugly ultraman
FYI: The parent post is a direct reposting of this comment from an earlier thread.
Anyone notice that these days, there seems to be some people who have written some legitimate but borderline-flamebait documents about various programming languages, and they repost them every time a programming story comes up? For example, i'm almost certain i've seen that silly "Perl's day is over, it's become like COBOL" or whatever post at least twice. (You know what i mean?)
I never liked autovivified hash elements in the first place. It's such a pain in the butt to put a if (exists $hash{index}) before trying to access everything if I don't want autovivification. Don't take this as a slam against Perl, I love the language and the concepts, but there are a couple little nooks and crannies that ought to somehow be fixed. I say "somehow" because to do it with backwards compatiblity may be impossible.
Now if only Apple would get the Cocoa bindings for Perl cooked up, so I could back-end in Perl and GUI in Cocoa...
I am concerned about any program, any piece of hardware, any treaty, any law that treats me as a consumer, not a citizen
Oraperl? Or do you mean DBI + DBD::Oracle. oraperl, sybperl and all those other monstrosities have been unsupported for ages.
I'm no coward, but don't want to spend time creatying an account (and remembering it) right now.
perl-5.8.0 is now completely 11.00 and 10.20 HP C-ANSI-C and GNU gcc safe. There are more 'README' pieces about Oracle in README.hpux and DBD-Oracle's README's have been extended, and probably will be even more in the near future.
I've already made a pa-risc-2.0 gcc version prepared for Oracle available on https://www.beepz.com/personal/merijn for HP ITRC forum members, and I cannot promise, but a 10.20-pa-risc-1.1 version is planned for the near future.
BTW, I seldom read this forum.
In all due respect to Mr.Hugo van der Sanden the editors should change this. You make him sound like the Guinea pig at AdultToy.com.
Say Goatse 5 times and you're illness would go away. Please do not post on /. for 3 days, if at the end of the 3rd day symptoms of paranoia and post 9/11 leandings appear, please destroy your workstation and try to buy a windows ME Pee Cee from K-Mark (use your offical Hick card).
The monstrosities, of course. I've battled with them many times. We actually have a procedure now for both 11.0 and 10.20, butit took literally days upon days of fact-finding and experimentation to get it to work at all.
Moderation: Put your hand inside the puppet head!
Mmmm, chocolate perls....
:)
Thanks for the link!
I am concerned about any program, any piece of hardware, any treaty, any law that treats me as a consumer, not a citizen
Oraperl (capital O) is a reverse compatibility wrapper around DBI.. lots of people are brain-locked on it and don't even know about DBI.
Yes, I know.
Can I suggest writing something that duplicates the oraperl interface using DBI and DBD::Oracle, and using that to run your scripts?
It'd probably make your life easier. In the long run.
Which is better? Perl or HTML?
- Safe Signals:
in previous versions of Perl signals could corrupt Perl's internal state
I was always a bit bummed that Carp was so unstable under mod_perl (I'd get seg faults every once in a while)... is this issue related to problems within Perl such as the above?
Nope - sybperl is still supported (although "sybperl" is just the collective name for the Sybase:: modules for perl 5)
"This is not a release candidate, it's the real thing, representing over two years of work by patch pumpkin holder Jarkko Hietaniemi and his merry band. Hugo van der Sanden is the new pumpking [sic] for perl 5.10."
Isn't it cute?
I always find my eye searching for the ending delimiter at the end of each block of code; this basically means I'm forever having to stop myself from thinking the code is somehow incomplete when I read Python.
:)
:)
I also found Python conciderably more opaque than Ruby, although I strongly suspect that had more to do with the documentation I found on it than anything else.
That most of the examples of Python apps I looked at were pretty messy didn't really help either
Unfortunately for Python, Ruby's filled my requirement for a clean dynamic language; I expect my next language to be more along the lines of SmallTalk or Lisp. Python just doesn't look that interesting anymore
<eagarly awaits a flood of examples and docs that'll make me change my mind and fall in love with it>
Wasn't there something about Perl 6 being released not too long ago? Anyway this release will give all the scriptkiddies something to do for a day.
Most of what I do is basic anyhow...so from what I've read, I'm not sure its worth an upgrade at this point. I don't think my projects would benefit that terribly much from it.
DBD::Oracle is an utter whore to get compiled & running on a HPUX box.
pppllleeeaaassseee
patch pumpkin n. [Perl hackers] A notional token passed around among the members of a project. Possession of the patch pumpkin means one has the exclusive authority to make changes on the project's master source tree. The implicit assumption is that `pumpkin holder' status is temporary and rotates periodically among senior project members. This term comes from the Perl development community, but has been sighted elsewhere. It derives from a stuffed-toy pumpkin that was passed around at a development shop years ago as the access control for a shared backup-tape drive.
For those with Perl already, the following is an easy way to download and upgrade:
perl -MCPAN -e 'install J/JH/JHI/perl-5.8.0.tar.gz'
when the writer is not that good at it. Perl si great as it is.
Erlang is a general-purpose programming language and runtime environment. Erlang has built-in support for concurrency, distribution and fault tolerance.
In other words, it's a small concurrent functional programming language developed by Ericsson after their experiments with Lisp and Prolog.
Although, you will not love it if have already poisoned by OO "snake oil"
If it's a case then try Dylan
Less is more !
I see people bashing Perl for it's supposed unreadability. I see people bashing Perl so they can advocate Python or Ruby. I see people making general, blanket statements about code readability, as if these opinions are always ready to burst forth, making the speaker a hit at parties.
Arguments about programming languages on this level are pointless beyond belief. It's like arguing which pop band is better than another. Who cares? It's all opinion and hearsay.
Which is in this thread also.
( perl -MCPAN -e 'install perl-5.8.0.tar.gz' )
ActiveState Perl is still 5.6. Any ideas when it'll be updated?
I run the scripts on Linux, but I do my coding on a WinAMD machine.
No boom today. Boom tomorrow. There's always a boom tomorrow. - Cmdr. Susan Ivanova
There's a comment about pseudohashes being depreciated, but the tense of the comment is pretty strange. What's up? Are pseudohashes actually depreciated in perl 5.8.0? --j
If it just got released, what the heck is in RedHat Limbo that's marked perl-5.8.0-29?
The fact that Perl has a multitude of different syntaxes and structures available to do the same job - that hack on hack stuff you disparage - is a feature. It's one of the language's strongest suits. And it closely approximates a typical spoken language, like English.
Where you see piled-on hacks, I see evolution at work. Perl is richly expressive, and allows you to code in whatever style works best for the task at hand, rather than trying to force the solution-space of the problem into the modeling-space of the language.
That's why Java and other B&D languages suck so badly - they trade flexability for orthadoxy.
But spoken languages have proven to be stubbornly resistant to the imposition of bondage and discipline in the name of "simplicity", and attempts at creating new, simpler spoken languages from scratch - like Esperanto - have failed miserably. The parallel with programming language should hold true as well. What is a programming language but a way of communicating with your computer, your users, and other programmers?
It should be at least as expressive as your spoken tongue, not less.
"A foolish consistancy is the hobgoblin of little minds" and nothing illustrates that point better than a discussion of Perl by those who don't actually use it.
DG
Want to learn about race cars? Read my Book
... it prints:
'Helo World!'
With '!' and line break.
"The Compiler Suite: bytecompiling and compiling still do not work"
Heck even Visual Basic compiles!
Silly Pudge. 5.10 5.8. Didn't you take math classes?
Prevent email address forgery. Publish SPF records for y
Silly Pudge. 5.10 is less than 5.8. Didn't you take math classes?
Prevent email address forgery. Publish SPF records for y
First off, let me state that choice of programming language isn't a reflection of the abilities of a developer.
I've seen dedicated, talented developers produce great apps with Perl, Python and even (gasp!) pre-.NET Visual Basic. On the other hand, I've seen careless, uninterested developers produce mounds of pure, unadulterated crap with C++.
The language used has little to do with the quality of thefinal result, and has a lot more to do with the person coding with it.
The language used for a product often isn't even up to the developer. Employers and clients mandate a language as often as not, sometimes for valid reasons, sometimes for moronic reasons ("The CEO plays golf with this dude who told him that using Java is gonna save big bucks").
Let's look at three factors we can use when comparing languages: Performance, Development Effort Required, and Maintainability.
C++ is a great language in experienced and knowing hands. When well-done its performance is good but it tends to be very effort-intensive.
Perl and other very high-level languages are less effort-intensive, but they have a corresponding performance trade-off.
Java and .NET languages are somewhere between the two, though they both seem closer to C++ on the scale than they are to VHL languages.
The maintainability of a language seems weakly related to individual languages. Most of the maintainabilty qualities of a product will spring from the all-too-often overlooked Planning, Design, and Discipline of the developers that worked on it!
I'll allow that Perl can really let you shoot yourself in the foot as far as maintainablity goes, but what languages aren't like this? Especially beloved C++?
The only thing that we learn from history is that nobody learns anything from history.
....to Ruby
true. thats why I ditched oracle and used postgresql when forced to use hp-ux once. pg is smoooooth....
cheers
"Contrary to popular belief, UNIX is user friendly. It just happens to be selective on who it makes friendship with"
I guess I can upgrade from Linux 2.4.18 to 2.4.9 then.
Listen, little cowboy...
You've got no authority or position of judge to penetrate me with such evil words. But you sincerely deserve to work for Dell Computers. I know who you are now... You are that Stephen guy... That want to make every dude a Dell owner. And guess what, Dells do come with your tiny little piece of shit you call "Pee-Cee" - American bastard.
I will shit in your starred flag, I will burn it till it verts blood from all the people you have killed in this world just for the sake of filling your bellies with cash and macarroni.
Yes, you are on the top of the world but one thing you can't deny - that what makes you and your country so high is the amount of corpses that you guys piled up to reach the top.
Next time you direct your word to me, I will reveal some necromancy prophecies about the destiny of yours.
Thank you very much.
It sort of sounds like you just want version 3 of programming Perl he has the lists sorted by type and does mention where things have changes. At leasts that covers you up to 5.6. I'm waiting till 5.8.1 to switch over to 5.8. In any case with that you could then look at the 5.8 regex which should be pretty close.
Why make a scripting language even more inefficient and bloated? Why waste time on something like that when there are many other interesting PERL-related projects on the todo list?z
Binary incompatibility is beginning to be Perl's bane. Didn't FreeBSD remove perl from their base system because of this?
It be ready.
A while back sockets under perl 5.6.0 stopped working on all of our Sun Solaris 8 systems. I tried recompiling it, 5.6.1, and 5.8.0rc2 (I plan on trying perl 5.8.0 final soon), but all of them fail on the socket tests, which include:
- lib/io_multihomed..Protocol not supported at lib/io_multihomed.t line 83.
- lib/io_sock........Protocol not supported at lib/io_sock.t line 37.
- lib/io_udp.........Protocol not supported at (maybe your system does not have a localhost at all, 0.0.1) at lib/io_udp.t line 60.
(Note: We do have localhost defined in our host table).It was a while before we noticed the error so I do not know what could have changed on our system to cause this problem. The only thing I can think of it being is that we patch all our systems between the time it last worked and when it did not. I did note that one of our installed Solaris patches is 111327 which does replace the socket libraries. We recently got a new SunBlade 2000 Workstation and I tried it again on it, and it too has the problem. It came prepatched and includes 111327 amongst many others. I have yet to try taking that patch off (mostly because of the logistics involved in removing one of our active Sun off the network for the test, and I am not willing to take a security patch off our system with it on the network).
This is not the same as noted in PerlFAQ 8, though I guess somebody at Sun could have deceided to change the Protocol numbers again, but I think it unlikely. I even went as far as modifying the test routines to add "use Sockets;", but no help.
Also, where can one submit and view bugs reports for Perl?
print "been there. done that.\n";
On the contrary, if the choice was the developer's and he/she made a poor choice, that is very much a reflection of their (lack of) ability.
The language used has little to do with the quality of the final result, and has a lot more to do with the person coding with it.
Generally speaking, given the choice, a good programmer won't make a poor choice of language for a project. (We don't always have that choice, of course, but a good programmer knows the difference and will readily admit to suboptimal management constraints.)
The maintainability of a language seems weakly related to individual languages.
Most of the garbage code I see these days, both proportionally and in absolute terms, is written in Perl. I believe that this is due to design problems with the language itself, and due to the fact that the language is so popular, therefore drawing to it many unskilled programmers, and due to the compounding interaction of these two factors.
Perl was there first, and Larry Wall deserves accolades for it, IMO. These days, though, is there anyone that doesn't cringe at the thought of having another bale of newbie Perl code dumped on them to maintain?
--Mike
"Not an actor, but he plays one on TV."
Are we really supposed to believe that all languages are equally good/bad and that we might just as well choose any of them for any project? This is nonsense.
Languages do differ in clarity, maintainability, readability, and many other features, and, in the end, this will lead to fundamental differences on average in the engineering quality of the code. Little science (AFAIK) has been performed to study the relative quality of different languages, but there is no reason to believe that it could not be studied in principle. Nor is there much reason to believe that there wouldn't be substantial differences between languages.
--Mike
"Not an actor, but he plays one on TV."
to oppose some claims that the only reason brainfuck and machine code are unreadable is because the reader doesn't know HOW to read it I will go into why they are inherently less readable than some other languages DESPITE being able to read them.
;)
thankyou elflord for already getting the point
at one level brainfuck is extremely easy to read, it only has 8 characters, each of which corresponds to one of 8 simple to understand operations. Anyone could learn to read off the code operations given 10 minutes because there isn't very much to learn. brainfuck is still inherently unreadable because it is very hard to work out what a peice of code's functionality is when only given a list of low level operations. In brainfuck there are no function names to give a big clue as to what the function does, there are no variable names, and there are no comments.
Just imagine trying to write readable code in perl if you were forced to call all your functions f1, f2, f3.... and all your variables $v1 $v2 $v3.... and you are not allowed to create any comments, and you have to build your own strings at run time too, none of these abstract types thank you. Just to finish off remove all the whitespace from your perl script and tell me if it is readable. brainfuck forces all of those points, so although the operations are very readable, the functionality isn't.
machine code is also quite readable, it is perfectly possible to learn how to read machine code, but it is much harder to read machine code than it is assembly. Again this has nothing to do with the posibility of learning to read either, it is infact purely based on how quickly you can read them. There is a one to one translation between machine code and assembly (apart from label names)
but whereas I can read an assembly op in well under a second, I would have to spend a fair amount of time deciphering which op code is being used, with which options and registers and data. Even if I knew everything I needed to know to work out what the instruction is, I am still having to calculate it each time I read a code. In variable length instruction sets I have an even worse time as although I can see one assembly instruction followed by another, and I can simply skip looking at a few I am not interested in, in the machine code I have to work out every instruction before I know where the next intruction begins.
Now, for a stupid example that knowing how to read two languages does not imply equality in ease of reading them, as appropriate for a comparison of assembly to machine code: I pick english for one language and english with each letter offset by one for the second, so that 'a' is translated to 'b'.
The languages are almost identical, and you have been given everything you need to know how to read both, but how long does it take you to READ AND UNDERSTAND e"readable" compared to e1"vosfbebcmf"?
machine code is harder (but possible) to read because you have to work more things out than you do with assembly.
brainfuck is harder to read than C like languages because you don't have any names or comments to give you clues as to the functionality. If you wrote C with random function names, random variable names, no comments and agreed to never use any number except 0, and never use any strings then your code would be on par with brainfuck : but brainfuck manadates this style, which is why it inherently difficult to understand.
What I find funny about this, is that "gurus" (read arseholes on an ego trip that tend to live in c.l.p.m) always bitch and whine about people being confused about PERL/Perl, _still_ haven't changed the man page in the download available from perl.org. (It still says: "Practical Extraction...")
As far as I am concerned, they lost the valid right to bitch about the incorrect usage of PERL/Perl a long time ago.
If you were adept enough to read that, surely you were clever enough to notice it's never PERL within the text of the man page. You might even have noticed a link to perlfaq1, which explains the joke.
I've personally noticed people who write PERL have a strong tendency to write awful code.
how to invest, a novice's guide