Glob and Traversing Directory

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default Glob and Traversing Directory

    In Perl , When I am traversing through a directory of files and I want
    to create an html link when the file extension is .html how would you
    do this?

    weberw@adelphia.net Guest

  2. Similar Questions and Discussions

    1. glob and Traverse Directory
      weberw@adelphia.net wrote: What did you try, and how did that fail to meet your requirements? Please do not multipost!...
    2. XML traversing
      Hope somebody can straighten me up here, cause I don't know what's wrong. I need to travers through an XML document and add each node til a Tree...
    3. Glob and space in directory name
      Why does the following work (eg, give me an array filled with matching file names): @filelist = glob("w:/stleg/Colorado/House_98/*.htm"); And...
    4. How do I glob with escaped spaces in a directory
      When I use: my @foo = glob "/foo/bar baz/*"; or my @foo = glob "/foo/bar\ baz/*"; Glob doesn't return the files in those directories, @foo...
    5. variable file glob into grep without glob()
      Hope I don't get shot for posting again, but I really need help with this ... I want to process lots (thousands) of files. I want to take a file...
  3. #2

    Default Re: Glob and Traversing Directory

    [email]weberw@adelphia.net[/email] schreef:
    > In Perl , When I am traversing through a directory of files and I want
    > to create an html link when the file extension is .html how would you
    > do this?
    Certainly not by multi-posting.

    --
    Affijn, Ruud

    "Gewoon is een tijger."


    Dr.Ruud Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139