Skip navigation.

Sign up | Lost password? | Help

Ramblings

a test …

Perl iron-man initiative

,

Matt Trout of DBIx::Class fame has started an initiative to get people using perl to be more visible in the blogsphere. A good initiative indeed as there seems to be a huge and alive community using perl, but they don't seem very visible on the web.

Read his entertaining post about the initiative here.

Use webfonts in your blog, NOW!Stockholm-site stealing from my computer

Comments

Hades32 28. April 2009, 22:22

I think a programming language that has things like "$$" and especially "$_" shouldn't be used at all!

nicomen 29. April 2009, 11:51

Hades32:

most of the time using $_ is not necessary, sure it's ok for one-liners, but proper perl is written using explicit vars. (map, and grep are the only exceptions, but even then you should use explcit variables)

Instead of $$, I'd use:
use English qw(-no_match_vars);
print $PROCESS_ID;
print $PID;

(perldoc perlvar)

Hades32 29. April 2009, 17:31

From my experience most people don't obey to such rules. Therefore I think the possibility itself should be removed. (From a syntax point of view I like perl much more than e.g. python...)

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies

December 2009
M T W T F S S
November 2009January 2010
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31