Syntactic Confectionery Delight | |
PerlMonks |
Re^3: How can I print all lines instead of 1 random?by CheeseLord (Deacon) |
on Aug 20, 2001 at 07:37 UTC ( [id://106120]=note: print w/replies, xml ) | Need Help?? |
Okay, in that case, my code should still work about the same way... just change the splice line to this: @lines = <LINE>;And inside the for loop, you'll want to just print out the sponsors' links (or images, or whichever field(s) you want to print out), as opposed to printing out the complete set of information for each sponsor. If that fails for some other reason (say, "Cheesy wrote bad code") then tell me what errors you're getting and I'll give it another shot. Hope that helps! Note: If this file is big, you'll likely want to process each one individually with a while loop, instead of a for. His Royal Cheeziness
In Section
Seekers of Perl Wisdom
|
|