News

I'm confused by Perl's regex abilities. There seems to be a lot of duplicate flags: ^ and \\A both match the beginning of a string. $ and \\Z both match the end. It seems redundant and confusing ...
Now let’s see how all this works by examining a script that uses these various ways of redirecting output and looking at the text the script generates.
I'd like to install some perl modules to a Solaris 8 machine that doesn't have a c compiler on it. I do have access to another Solaris 8 machine that has gcc on it, but the directory structure isn ...
In Perl 5.8, add a watchpoint with w and delete it with W. Customizing the Perl Debugger. The first thing to know is that the debugger is simply a Perl library that takes advantage of hooks in the ...
Perl also can be set up to use a module (File::stat) that facilitates use of the stat command, providing by-name access. Here’s an example of a script that uses File::stats: #!/usr/bin/perl -w ...
In the March 2005 issue of Linux Journal, I used Maypole to create a Web-based database application in only 18 lines of Perl code.The functionality provided by Maypole is impressive except in one ...