I've got an array which has multiple lines like these in it:
<A HREF=" Page</A><BR>
<A HREF=" Page</A><BR>
As you can see it are links to certain websites.
Now I want to do stuff with each link within the array.
foreach $value (@X){
print "..$value..";
}
With these lines I want to get each link and do something with it. Though $value contains all links instead one at a time. How can I adjust my code so that $value contains one link per time ?
<A HREF=" Page</A><BR>
<A HREF=" Page</A><BR>
As you can see it are links to certain websites.
Now I want to do stuff with each link within the array.
foreach $value (@X){
print "..$value..";
}
With these lines I want to get each link and do something with it. Though $value contains all links instead one at a time. How can I adjust my code so that $value contains one link per time ?