Kaustubh has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I am stuck with the following two questions and I need your guidance to solve it.My question may seem simple or inappropriate but please consider the fact that I am a newbie to Perl.
1)Is it possible to specify 2 html tags in find() method if you are using Mechanize Package?Below is my code snippet which fails to return any output.Basically I have given a URL to get method say for example $mech->get("abc.com/xyz") and I am using this $mech along with find and attr methods.
2)Is there any method available that can take a html tag and an attribute as parameters and return the output instead of using find() and attr() methods separately.
The project that I am working on makes use of Mechanize Package.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Passing 2 tags to find() method
by marto (Cardinal) on Jul 27, 2016 at 07:37 UTC | |
by Kaustubh (Acolyte) on Jul 27, 2016 at 09:43 UTC | |
by marto (Cardinal) on Jul 27, 2016 at 10:09 UTC | |
by Kaustubh (Acolyte) on Jul 28, 2016 at 05:10 UTC | |
by marto (Cardinal) on Jul 28, 2016 at 05:51 UTC | |
|
Re: Passing 2 tags to find() method
by marto (Cardinal) on Jul 27, 2016 at 07:53 UTC | |
|
Re: Passing 2 tags to find() method
by Kaustubh (Acolyte) on Jul 27, 2016 at 07:01 UTC |