Think about Loose Coupling | |
PerlMonks |
URL-String-concatenation within Perl [applying to a loop]by Perlbeginner1 (Scribe) |
on Nov 27, 2010 at 18:06 UTC ( [id://874007]=perlquestion: print w/replies, xml ) | Need Help?? |
Perlbeginner1 has asked for the wisdom of the Perl Monks concerning the following question:
Hello dear Perl-monks - good evening!
well i am currently workin on a parser that should fetch pages: i want to do it with Perl since this is the most pretty way to do it! well - i have to build a loop since i need to fetch many pages from one server: siteone_dot_com?show_subsite=9009 siteone_dot_com?show_subsite=9742 siteone_dot_com?show_subsite=9871 Should i do it like this?
Well i am not sure bout the string concatenation. How to do it - Note i want to fetch several hundred pages: see the some details for this target-server sites - /(i have to create a loop over several hundred sites) siteone_dot_com?show_subsite=9009 siteone_dot_com?show_subsite=9742 siteone_dot_com?show_subsite=9871 ...and so on and so fort... Question: How to appy this loop into the code!?
love to hear from you! regards
Back to
Seekers of Perl Wisdom
|
|