Suchergebnisse für „perl“

TOP

use, BEGIN and what's Perl doing with them

use-lines and BEGIN-blocks are not processed like they appear within a file.
Weiterlesen
TOP

(Don't) Panic: attempt to copy freed scalar 135c588 to 13767c0 at Carp.pm

A new problem appeared about a week ago: Perl paniced - something I've never seen before - with an internal error message "attempt to copy freed scalar". The problem occurred in Carp.pm which is a Perl core module.
Weiterlesen
TOP

Intelligent caching for alltime statistics

Statistics are important for many projects, but not all of them are easy to build. Many long-term stats involve heavy SQL queries and some may of these queries may also freeze database servers or tables. Caching intermediate results may limit these queries to a minimum.
Weiterlesen
TOP

Perl-Sünden

Den heutigen Tag habe ich gefühlt nur mit Bugfixes verbracht. Keine komplizierten, schwer zu findenden Bugs, sondern kleine fiese dumme Minikäfer die einfach nur nervig sind.

Weiterlesen
TOP

Setting up a OpenVZ/MongoDB/YAWF VE

The YAWF framework is available from CPAN, but it still needs a Webserver and some environment for working at it's best. This tutorial shows everything needed to set up a new OpenVZ VE (VServer) with MongoDB and YAWF framework on an existing OpenVZ host.

Weiterlesen
TOP

Hunting down a suspicious Perl error

I joined a commercial project lately which has been growing for years. Adding a "use" for a module which was called in source but not loaded by "use" before suddenly led some old coding sins show up. Torben and I spent two hours on finding and fixing this bug.
Weiterlesen
TOP

Programmieren mit sed

Funktionsnamen sind normalerweise Konstanten: Einmal festgelegt ist es quasi unmöglich sie zu ändern. Wird dies dennoch einmal notwendig können leicht einige Stunden oder Tage Entwicklungszeit notwendig werden.
Weiterlesen
TOP

Everything you missed: Perl weekly

Let's face it: Perl users love old versions. New Perl versions aren't unstable or bug collections but it takes (a long) time for them to reach the Linux distribution maintainers and most users prefer the default Perl installed by their operating system. Many of them don't know or just don't participate in the Perl community.

Weiterlesen
TOP

ZÜP, Tauglichkeit & Co.

Wie schon geschrieben, habe ich vor wieder zu fliegen. Die gängige Ansicht, ein Pilot könnte sich einfach ins Flugzug setzen und losfliegen, ist ohnehin falsch, denn eine umfassende Flugplanung ist auch für den kleinsten Aus-Flug notwendig, aber auch vorher ist jede Menge Papierkram notwendig.
Weiterlesen
TOP

Setting up Perltidy with SVN

Developing the same source with more than one person isn't fun: Everybody has his or her own style and with Perl's TMTOWTDI these style may be very different. Perltidy reformats your source to one, common style but this could be very hard when using a versioning system like SVN or GIT.

Weiterlesen