Thanks again for going the extra distance on helping me. But it seems I cannot get the telnet buffer to change.
#!/bin/usr/perl -w
use strict;
use WWW::Mechanize::Firefox;
my $mech = WWW::Mechanize::Firefox->new( launch => 'firefox',);
my $net_telnet = $mech->repl->repl->client;
$net_telnet->max_buffer_length(10485760);
This returns the error message: "Can't locate object method "max_buffer_length" via package "MozRepl::Client" at screenshot.pl line 6, <DATA> line 1."
After looking over the documentation I could find for MozRepl, I could not find any lines that matched the '$obj->repl->repl->client' call, though I did find telnet documentation on setting max_buffer_length.
Perhaps you could give a full example with code? Thanks for all the help.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.