in reply to Find images regardless of filetype extension.

Thank you both: zzspectrez & merlyn for your clear examples.

You know, even at CPANs PMs it is not easy to understand how any module works unless you read all its code. In general, pods are poor in examples. Your code is a way of illustrating the main idea.

In order to understand the importance of most CPANs modules I would rather try to do it first by myself (without cheating) and then compare mine with one masterpiece to know how much of experience was involved in developing them.

I guess that that is better than taking for granted that the module is valuable. (consider for example the development of CGI.pm. It might be the module with the shortest name at all CPAN!)

{ \ ( ' v ' ) / }
( \ _ / ) _ _ _ _ ` ( ) ' _ _ _ _
( = ( ^ Y ^ ) = ( _ _ ^ ^ ^ ^
_ _ _ _ \ _ ( m _ _ _ m ) _ _ _ _ _ _ _ _ _ ) c h i a n o , a l b e r t o
Wherever I lay my KNOPPIX disk, a new FREE LINUX nation could be established
  • Comment on Re: Find images regardless of filetype extension.

Replies are listed 'Best First'.
Re^2: Find images regardless of filetype extension.
by merlyn (Sage) on Aug 01, 2005 at 14:29 UTC
    In order to understand the importance of most CPANs modules I would rather try to do it first by myself (without cheating) and then compare mine with one masterpiece to know how much of experience was involved in developing them.
    And I actively encourage that, as long as you keep the result in the privacy of your own cubicle, or if you post it, you label it as such.

    It's one thing to post your copy of the Mona Lisa as "here's my attempt to make a copy". It's an entirely different thing to post it as "here's my original art!" and then people go "blech", and rightfully so.

    -- Randal L. Schwartz, Perl hacker
    Be sure to read my standard disclaimer if this is a reply.

Re^2: Find images regardless of filetype extension.
by Dietz (Curate) on Aug 01, 2005 at 14:15 UTC
    ... CGI.pm. It might be the module with the shortest name at all CPAN!

    There are modules with shorter names on CPAN.
    Just to name a few:
    B
    DB
    GD
    IO
    Pg
    Tk