Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
draegtun
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
421.
▲
by
draegtun
14y ago
Nothing is wrong with that. However the actual Perl open() would be like this... open my $fh, '<', 'file.txt' or die "file.txt not found"; open(my $fh, '<', 'file.txt') || die 'file.txt not found'; Above two lines are
422.
▲
Perl 6 The Holy Grail or Utopia
(kresimirbojcic.com)
2 points
by
draegtun
14y ago
|
0 comments
423.
▲
by
draegtun
14y ago
Also they don't get the attention the hot languages get. However there are some Perl startups, for eg: Lokku, Blekko, Moonfruit, DuckDuckGo, CareerJet & Adzuna
424.
▲
App::GitGot, tmux and Lotsa Laziness
(babyl.ca)
2 points
by
draegtun
14y ago
|
0 comments
425.
▲
Visualization of Regular Expression Character Classes
(catonmat.net)
2 points
by
draegtun
14y ago
|
0 comments
426.
▲
by
draegtun
14y ago
ClozureCL has been on the App store for a while now. I first downloaded it when I came across this comment on HN a year ago - http://news.ycombinator.com/item?id=3688043
427.
▲
Red-Black Trees in Perl 6 Explained
(blogs.perl.org)
2 points
by
draegtun
14y ago
|
0 comments
428.
▲
Introducing cpanm 1.6 (by miyagawa) [video]
(weblog.bulknews.net)
16 points
by
draegtun
14y ago
|
0 comments
429.
▲
JavaScript rolls on (as does SocialCalc)
(bricklin.com)
1 points
by
draegtun
14y ago
|
0 comments
430.
▲
by
draegtun
14y ago
Seems to be fine: $ re.pl >> use aliased 'DateTime::Format::ISO8601'; >> ISO8601->parse_datetime("2012-012"); 2012-01-12T00:00:00 >> ISO8601->parse_datetime("2012-366"); 2012-12-31T00:00:00
431.
▲
by
draegtun
14y ago
Most likely it was this script: http://benchmarksgame.alioth.debian.org/u32/program.php?test...
432.
▲
by
draegtun
14y ago
As aardvark179 already mentioned this is different. There are modules on CPAN which will allow you to also do class/module path munging like this and it's fully baked into Perl6: http://perlcabal.org/syn/S11.html#Versioning
433.
▲
by
draegtun
14y ago
Yes having dynamic scoping gives Perl a very powerful programming instrument . And the lack of dynamic scoping in Ruby can cause problems elsewhere: http://news.ycombinator.com/item?id=5072925 PS. I seem fond of dynamic scoping because I
434.
▲
by
draegtun
14y ago
It's because Larry Wall wanted something shorter than associative arrays . * http://www.nntp.perl.org/group/perl.perl6.language/2007/05/m... * http://www.nntp.perl.org/group/perl.perl6.language/2007/06/m...
435.
▲
Pathed - munge the Bash PATH
(marcelgruenauer.com)
3 points
by
draegtun
14y ago
|
2 comments
436.
▲
by
draegtun
14y ago
It's strange then that memory leaks seem to be much more prevalent in Ruby than it is in the Perl world?
437.
▲
Three-value logic in Perl
(blogs.perl.org)
1 points
by
draegtun
14y ago
|
0 comments
438.
▲
by
draegtun
14y ago
>In Ruby config land, there's also Sprinkle, Rexify, etc! So many options! The Rexify (or more precisely Rex) that I'm aware of is written in Perl - http://rexify.org/ | https://github.com/krimdomu/Rex
439.
▲
by
draegtun
14y ago
Similar thing happened with the Perl trademark in Japan back in 2010 - http://blogs.perl.org/users/lestrrat/2011/09/perl-trademark-... Fortunately it was resolved. Don't know if contacting someone at TPF or Japan Perl Association might b
440.
▲
by
draegtun
14y ago
Thanks. If I include computers used at work & friends then we overlap a bit more... - Commodore 64 & Amiga (?) - both friends - Prime minicomputer (primos) - PDP (11?) server - Vax/VMS server - SCO Unix & Xenix servers (my first
441.
▲
by
draegtun
14y ago
I previously left a nostalgic list of the computers I owned on a HN comment last year - http://news.ycombinator.com/item?id=4052679 One thing I didn't previously mention is that the first computer I saw & used was a Sinclair ZX-81. I
442.
▲
by
draegtun
14y ago
In Perl, classes/packages are dynamically scoped. So you can safely localise any monkey-patching . For eg: use 5.016; use warnings; package JSONParser { sub parse { my ($self, $str) = @_; "JSONParser::
443.
▲
by
draegtun
14y ago
A good way to find out if there are issues with a CPAN module is to look at the Test results provided by the CPANtesters smoke testing. For eg. on TryCatch ( https://metacpan.org/module/TryCatch ) it currently shows... Test results (1
444.
▲
by
draegtun
14y ago
Here are some useful CPAN module lists: * MetaCPAN favourites leaderboard - https://metacpan.org/favorite/leaderboard * Task::Kensho - This is a list of recommended modules for Enlightened Perl development - https://metacpan.org/module/T
445.
▲
UK 'can cope with solar superstorm'
(bbc.co.uk)
1 points
by
draegtun
14y ago
|
0 comments
446.
▲
by
draegtun
14y ago
I've never liked the aesthetics of a leading comma.... var foo = { bar: 100 , baz: 200 }; However the fact that (some) Javascript engines don't like trailing commas... var foo = { bar: 100, baz: 200,
447.
▲
by
draegtun
14y ago
IMHO, Constructor::Pythonic is good enough not to be in the Acme:: namespace.
448.
▲
by
draegtun
14y ago
Funny, I posted the following to HN this morning: Acme::Pythonic - Python whitespace conventions for Perl - http://news.ycombinator.com/item?id=5175619
449.
▲
Mango - Pure-Perl non-blocking I/O MongoDB client
(github.com)
1 points
by
draegtun
14y ago
|
0 comments
450.
▲
by
draegtun
14y ago
There are already a few other language implementations on PyPy. For e.g. - Javascript | https://bitbucket.org/pypy/lang-js - Smalltalk | https://bitbucket.org/pypy/lang-smalltalk - Schema | https://bitbucket.org/pypy/lang-scheme - I
More ›