in reply to Re^9: Screencapture with Perl on Linux
in thread Screencapture with Perl on Linux (SOLVED)
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.#!/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);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^11: Screencapture with Perl on Linux
by Corion (Patriarch) on Dec 13, 2009 at 17:22 UTC |