News

Command-line Perl scripts can make adminstering a UNIX box easier by replacing certain commands with some routine scripts. Find out how to take advantage of this approach.
Perl One-Liners: 130 Programs that Get Things Done by Peteris Krumins, no starch press, 2014 When I first saw the title of this book, I asked myself “An entire book of one-liners?
An associative array is an array which uses strings as indices instead of integers. To see how associative arrays work, we’re going to look at both the Korn shell and Perl, though only the ...
In Perl, functions and subroutines can return different values based on the context of the caller (scalar, array or void). A nice feature of the Perl debugger is the r command, which tells you what ...
Title: Mastering Perl/TkAuthors: Steve Lidie and Nancy Walsh Publisher: O'Reilly ISBN: 1-56592-716-8 Until January of 2002, programmers wanting a book on Perl/Tk had one option: Learning Perl/Tk, by ...
A lot of information is available about individual files on a Unix system. For example, the ls -l command will display the permissions matrix and ls -i will display a file’s inode. But, if we ...
I'd Like to write a perl program that changes the working directory of the user, not just for the duration of the code, but even afterwords (the user would still be able to hop around, of course ...
In 1994, Jon Orwant, a graduate student at the Massachusetts Institute of Technology, learned the power of the Unix scripting language Perl. “I bet a friend a six-pack of beer that I could write ...
CAMBRIDGE, Mass. — Descrambling DVDs just got even easier, thanks to a pair of MIT programmers.Using only seven lines of Perl code, Keith Winstein and Marc Horowitz have created the shortest-yet ...