in reply to glob: where are the full paths?
Be careful to use forward slashes. For full caveats see 'perldoc -f glob' and File::Glob.$ pwd C:\strawberry\c $ perl -le"print for glob shift" * bin contrib COPYING COPYING.LIB doc include lib libexec mingw32 share $ perl -le"print for glob shift" C:/strawberry/c/* C:/strawberry/c/bin C:/strawberry/c/contrib C:/strawberry/c/COPYING C:/strawberry/c/COPYING.LIB C:/strawberry/c/doc C:/strawberry/c/include C:/strawberry/c/lib C:/strawberry/c/libexec C:/strawberry/c/mingw32 C:/strawberry/c/share $ perl -le"print for glob shift" C:/strawberry/c/*/info/* C:/strawberry/c/share/info/dir C:/strawberry/c/share/info/make.info C:/strawberry/c/share/info/make.info-1 C:/strawberry/c/share/info/make.info-2 $
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: glob: where are the full paths?
by 7stud (Deacon) on Nov 14, 2009 at 06:16 UTC | |
by Khen1950fx (Canon) on Nov 14, 2009 at 06:41 UTC | |
by 7stud (Deacon) on Nov 14, 2009 at 06:55 UTC | |
by Marshall (Canon) on Nov 14, 2009 at 10:59 UTC | |
by Anonymous Monk on Nov 14, 2009 at 07:23 UTC |