coder57,
First off, just out of curiosity, do you also post under the user name
coder45? The reason I ask is that your usernames are similar, and
coder45 asked many questions along the same lines as this one. Secondly if you read the
WWW::Mechanize documentation you would find:
"Please note that Mech does NOT support JavaScript. Please check the FAQ in WWW::Mechanize::FAQ for more."
You claim that this is your site, as such you have made it a little more difficult to automate publishing. I know that some people use JavaScript for such things to make it more difficult for people to automate posting to their sites. Since you say it is your site, you may not have too much trouble writing a Perl work around to emulate your JavaScript code you have chosen to use. You say:
"and there are 3 pages, I would like to edit the articles on the first page with the same text in $text, and the the next three articles on the next page with the text in $text2, and the next three articles on the last page with $text3"
To me this does not make sense, why would each page have three articles that contain exactly the same text? Also you have the line
use Data::Dumper; but you don't use it in your code that you have posted.
Martin