Thursday, July 1, 2010

"amusing" @INC trouble

got into a bit of panic today:


$ perl -e 'use LWP'
Global symbol "%Config" requires explicit package name at ...


This happened when running anything that used perl, and this error I have not seen before.

Asking around and googling resulted in one conclusion: core Config.pm is busted, Perl is damaged, must reinstall. Lucky for me I realized there was a Config.pm in the folder I was in at the time, and './' was in pole position in my @INC.

Friday, June 11, 2010

tried Ubuntu 10.04

... not bad, though I won't switch: shivering at the thought of moving all the configs, instant messenger logs, mail accounts and setting and other useful junk accumulated during 5 years of updating a Debian in-place.

Thursday, May 27, 2010

strange apache error


apache failed to start with an error:


[Thu May 27 13:41:29 2010] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed




Carlos Rivero has a solution using perl.




Here is what I used, as somebody suggested in the comments to the post linked above:


ipcs -s | grep emilper | awk ' { print $2 } ' | xargs ipcrm sem


then restarted the server

Monday, May 24, 2010

installing padre 0.62 on debian sid

Got an unexpected "bank holiday", so I am playing.



Padre installs nicely on Debian Sid when using CPAN on 2010-05-24 ... I wonder if I am doing something wrong :P ... or maybe Padre is getting closer to being ready for prime-time.



Plugins that installed cleanly:


  • Padre::Plugin::PAR

  • Padre::Plugin::XS

  • Padre::Plugin::Encrypt

  • Acme::Padre::PlayCode

  • Padre::Plugin::Nopaste

  • Padre::Plugin::DataWalker

  • Padre::Plugin::HTML

  • Padre::Plugin::HTMLExport

  • Padre::Plugin::JavaScript

  • Padre::Plugin::Kate

  • Padre::Plugin::CSS

  • Padre::Plugin::Ecliptic

  • Padre::Plugin::SpellCheck

  • Padre::Plugin::PHP

  • Padre::Plugin::ViewInBrowser

  • Padre::Plugin::PerlCritic

  • Padre::Plugin::Debugger

  • Padre::Plugin::Encode

  • Padre::Plugin::Alarm

  • Padre::Plugin::Swarm

  • Padre::Plugin::ClassSniff




Plugins that fail tests:


  • Padre::Plugin::Shell::Base

  • Padre::Plugin::CommandLine

  • Padre::Plugin::InstallPARDist

  • Padre::Plugin::Vi

  • Padre::Plugin::Template

  • Padre::Plugin::Filter