Re: Perl vs. PHP?

2002-10-23 Thread Matthew C. Peterson
My take: PHP - many glorious "built-in" functions easily embedded into HTML simple to learn, easy to read simpler documentation very fast practically made for database driven sites more lengthy than perl weaker system commands at home on any system Perl - many glorious "modules" difficult to lea

image dimensions - module

2002-10-18 Thread Matthew C. Peterson
I am trying to find the dimensions of a graphic with perl. I have the PerlMagick (Image::Magick) module, but I'm not sure if that is what I need. My purpose is to find the dimensions of an image, then send the x and y through an algorithm that will determine the best size for a thumbnail. thanks a

html regular expressions

2002-10-11 Thread Matthew C. Peterson
while reading the o'eilly book 'learning perl' i came across a section dealing with reg. expressions for html. they recommended grabbing a robust module from cpan to help with these, but i can't quite seem to find one specifically for this purpose. any one done this before, or have some direction