in reply to renaming all files in a directory
use perl -MO=B::Deparse,-p myfile.pl to see how perl parses your program
read glob give glob a star (the metacharacter "*")
Also see Re: Renaming files in a directory in sequence
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: renaming all files in a directory
by Aldebaran (Curate) on Jun 11, 2012 at 22:18 UTC | |
I took a look at your thread at that link but don't necessarily follow it all yet. I don't think I want to glob for any of this. Does this look like a fairly robust way to download images and rename them uniformly but with correct filetypes?
Is this how all images on the net really look to servers, with the size information on them as well? Where do I find information about the url_abs() method here? I don't see it in either of the modules used. | [reply] [d/l] |
by ww (Archbishop) on Jun 11, 2012 at 22:37 UTC | |
And the first few lines look as though you're trying to make something up as you go; don't know how to cut'n'paste; or are yanking our chains. Or, maybe, need this reminder: Please, separate your record of output from your code. | [reply] |
by Aldebaran (Curate) on Jun 12, 2012 at 01:12 UTC | |
Alright, well I previewed the terminal output as a normal paragraph, and that doesn't work at all because the newlines disappear, so I hope the best way is to use separate code blocks for terminal output and then a code listing.
| [reply] [d/l] [select] |