Help! list all file extensions

Discussion in 'Perl' started by thewhizkid, Nov 19, 2003.

  1. thewhizkid

    thewhizkid Guest

    I need to write a small Perl program to scan my hard disk and
    list out all unique file extensions.

    Can someone help me write the code ?

    Thanks
    ThWHIZkiD
     
    thewhizkid, Nov 19, 2003
    #1
    1. Advertising

  2. thewhizkid wrote:
    > I need to write a small Perl program to scan my hard disk


    perldoc File::Find

    > and
    > list out all unique file extensions.


    perldoc File::Basename
    perldoc -q duplicate (hint: see in particular the last sentence)

    > Can someone help me write the code ?


    What do you have so far (you didn't show us any code)? Where are you stuck?

    jue
     
    Jürgen Exner, Nov 19, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stephen Boulet
    Replies:
    1
    Views:
    264
    =?ISO-8859-1?Q?Gerhard_H=E4ring?=
    Oct 19, 2003
  2. Samantha

    Turning on ALL C extensions.

    Samantha, Sep 5, 2008, in forum: C Programming
    Replies:
    3
    Views:
    297
    user923005
    Sep 5, 2008
  3. Emmanuel Oga
    Replies:
    2
    Views:
    157
    Emmanuel Oga
    Mar 10, 2008
  4. Replies:
    6
    Views:
    185
    Michele Dondi
    Feb 17, 2004
  5. Replies:
    2
    Views:
    111
    Brian McCauley
    Jun 8, 2006
Loading...

Share This Page