Clear questions and runnable code
get the best and fastest answer
storing issue: script stores not at the intended placeby Perlbeginner1 (Scribe)
|on Mar 29, 2012 at 18:29 UTC||Need Help??|
Perlbeginner1 has asked for the
wisdom of the Perl Monks concerning the following question:
good day dear monks
this is a question regarding a storing issue - the main part of a little mecha-script works well - i want to store the results in a directory - so that the gathered fiels do not mess up my machine... so here we go... with the outline and the question... look forward to hear from you
i need to have some thumbnails from websites but i tried to use wget - but that does not work for me, since i need some rendering functions what is needet: i have a list of 2,500 URLs, one on each line, saved in a file. Then i want a script - see it below - to open the file, read a line, then retrieve the website and save the image as a small thumbnail. well since i have a bunch of web-sites (2500) i have to make up my mind about the naming of the results.
So far so good, well i think i try something like this
Note: all is nice and runs well so far untill - yes untill i tried to create a special option: i wanted to force the script to do some storing of the results in a folder Well, what do you think about the idea of storing the results in a folder called images or so!?) is this doable? it would help alot since i get stored the results in a folder. And the many results do not mess the machine...
i run into some issues. tried to do it - to store it in a directory thusly:
should i do it like so....
To write a file whose name is contained in $name in the directory images, the correct syntax is
note - the directory called images is in the very same folder...
i get the results
Any opinions on the best path forward?