Perl Style
Changing en passant
/usr/man/man3/foo.1 changes to /usr/man/cat3/foo.1
($catpage = $manpage) =~ s/man(?=\d)/cat/;
Use foreach() Loops
@bindirs = qw( /usr/bin /bin /usr/local/bin );
for (@libdirs = @bindirs) { s/bin/lib/ }
Use Hashes of Records, not Parallel Arrays
for $his ($people{"Jason"}) {
$his->{AGE} = 23;
$his->{DAD} = "Herbert";
}
Some Common Unicode Problems and Solutions using Perl DBD::ODBC and MS SQL Server
What I expect from a Web Framework
The Web Framework Is Dead
The main problem with Web Frameworks is the "Web"-part.
You either have a good web framework (Catalyst, Dancer) which makes it hard to reuse your code in non-web-contexts (and there are a lot of those: cronjobs, tests, fixup scripts, daemons, importer & exporter, ...); or you have a "closed system" like Mojolicous or Ruby on Rails, which tend to include everything (i.e. they come with their own email-system, cron-replacement, event loop, ...) but sort of drift away from the main language and generate their own ecosystem / walled garden.
Stand Out as a Developer
He are the slides from my talk at #lpw2014 on how to conduct yourself as a Developer in an interview for further information please get in touch rick@eligo.co.uk
Speedometer - search.cpan.org
Speedometer : An easy interface to the Benchmark module to compare the performance of two Perl Files. I have written one small module(Speedometer.pm). need reviews. Thanks.
The not-so-great escape | The Incredible Journey [blogs.perl.org]
A couple of examples of modules which do the escaping correctly are
Mojo::Util
and
HTML::Entities