in reply to Passing complex html-tag input over command line to HTML TreeBuilder method look_down() properly
You did not say how/what you had tried to pass the tags and what the program received (use Data::Dumper to print to show exactly). So ...
Use Getopt::Long module to receive "tags" option arguments as a list of strings. Then process the attribute ("class" in your example) and its value yourself (use split( '=' , $attr_value_pair , 2 )).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Passing complex html-tag input over command line to HTML TreeBuilder method look_down() properly
by sadarax (Sexton) on Apr 18, 2019 at 18:58 UTC | |
by Anonymous Monk on Apr 19, 2019 at 01:36 UTC |