Found Task::Kensho interesting to get an idea of the most common and recommended Perl modules out there. Task::Kensho is a first cut at building a list of recommended modules for Enlightened Perl development. CPAN is wonderful, but there are too many wheels and you have to pick and choose amongst the various competing technologies. Links: [...]
Entries Tagged as 'Coding'
Task::Kensho A Glimpse at an Enlightened Perl
July 27th, 2010 · No Comments
Tags: Coding
Unable to load schema – chosen moniker/class naming style results in moniker clashes
July 22nd, 2010 · No Comments
Was trying to generate the Perl module DBIx::Class schema files from a database using DBIx::Class::Schema::Loader. Using the example on the CPAN page for DBIx::Class::Schema::Loader the following error came up. Unable to load schema – chosen moniker/class naming style results in moniker clashes. Either change the naming style, or supply an explicit moniker_map: tables ‘dm_pp_hn’, ‘dm_pp_hns’ [...]
Tags: Coding
CGI::Application examples
July 14th, 2010 · No Comments
It has been a while since writing a CGI frontend to an application… In fact, CGI.pm was the way to do things when I last wrote a CGI application with Perl. Was having a look at Catalyst and CGI::Application as MVC frameworks. I decided that the learning curve for Catalyst was a little too great [...]
Tags: Coding
Default a port on old Cisco 3548
June 20th, 2010 · No Comments
I wanted to default the configuration of a number of ports on an old Cisco 3548. The latest version of IOS support on this system does not support the range command, so, had to manually run a small script (bash 1 liner on linux) and paste in the contents: $ for i in `seq 40 [...]
Tags: Cisco · Coding · Networking · One Liners · Uncategorized
MySQL tuning script
March 4th, 2010 · No Comments
This looks like a useful mysql tuning script: http://blog.mysqltuner.com/ Otherwise the mysql.com pages are good for tuning: http://dev.mysql.com/doc/refman/5.0/en/optimization.html http://dev.mysql.com/doc/refman/5.1/en/optimization.html