Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

pudge (1)

  (email not shown publicly)
AOL IM: Crimethnk (Add Buddy, Send Message)

I run this joint, see?

Journal of pudge (1)

Monday November 26, 2001
05:59 PM

Why Perl Is As It Is

[ #1376 ]
I wanted to find out the largest perl module in the distribution. So I wrote this script in about one minute.

use File::Find;
find(sub {
  next unless /\.pm$/;
  $file = $File::Find::name, $size = -s _ if -s > $size;
}, "Bourque:Applications (Mac OS 9):MacPerl ƒ:lib:");
print "$file: $size\n";

This is why Perl needs to have so many shortcuts. This is why Perl is cool.

FWIW, the answer is

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.