Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners Cgi > Is it possible ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 1456 of 1478
Post > Topic >>

Is it possible to iterate through a file?

by Rich Grise <rich@[EMAIL PROTECTED] > Apr 2, 2008 at 12:22 AM

What I want to do is, I've got a large collection of image files:
$ wc gallery-pix
  37448   62619 3218967 gallery-pix

and what I'd like to do is look at each of the 37488 image files on
some kind of page, with buttons like "Keep", "Skip", and "Quit", 
so I can page through all of these images, which are strewn all 
over the Samba server, and decide which ones might look good on
the website.

So, is it possible to do something like (in pseudocode):

for each $line in <file> {
 show webpage with <img> tag, and the three buttons;
 get button response, decide what to do with file;
 if button == "Quit", save place in source file;
next;

or so?

Thanks,
Rich
 




 1 Posts in Topic:
Is it possible to iterate through a file?
Rich Grise <rich@[EMAI  2008-04-02 00:22:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 0:57:39 CDT 2008.