WWW::Mechanize::Image(3pm) User Contributed Perl Documentation WWW::Mechanize::Image(3pm)NAME
WWW::Mechanize::Image - Image object for WWW::Mechanize
SYNOPSIS
Image object to encapsulate all the stuff that Mech needs
Constructor
new()
Creates and returns a new "WWW::Mechanize::Image" object.
my $image = WWW::Mechanize::Image->new( {
url => $url,
base => $base,
tag => $tag,
name => $name, # From the INPUT tag
height => $height, # optional
width => $width, # optional
alt => $alt, # optional
} );
Accessors
$link->url()
URL from the link
$link->base()
Base URL to which the links are relative.
$link->name()
Name for the field from the NAME attribute, if any.
$link->tag()
Tag name (either "image" or "input")
$link->height()
Image height
$link->width()
Image width
$link->alt()
ALT attribute from the source tag, if any.
$link->URI()
Returns the URL as a URI::URL object.
$link->url_abs()
Returns the URL as an absolute URL string.
SEE ALSO
WWW::Mechanize and WWW::Mechanize::Link
COPYRIGHT & LICENSE
Copyright 2004-2010 Andy Lester.
This program is free software; you can redistribute it and/or modify it under the terms of either:
o the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version,
or
o the Artistic License version 2.0.
perl v5.14.2 2011-08-05 WWW::Mechanize::Image(3pm)
Check Out this Related Man Page
WWW::Mechanize::FormFiller::Value::Keep(3pm) User Contributed Perl Documentation WWW::Mechanize::FormFiller::Value::Keep(3pm)NAME
WWW::Mechanize::FormFiller::Value::Keep - Leave an HTML field alone
SYNOPSIS
use WWW::Mechanize::FormFiller;
use WWW::Mechanize::FormFiller::Value::Keep;
my $f = WWW::Mechanize::FormFiller->new();
# Leave the login field untouched
my $login = WWW::Mechanize::FormFiller::Value::Keep->new( 'login' );
$f->add_value( login => $login );
# Alternatively take the following shorthand, which adds the
# field to the list as well :
my $sessionid = $f->add_filler( session => 'Keep' );
DESCRIPTION
This class provides a way to keep a value in an HTML field.
new NAME
Creates a new value which will correspond to the HTML field "NAME".
name [NEWNAME]
Gets and sets the name of the HTML field this value corresponds to.
value FIELD
Returns whatever "FIELD-"value()> returns.
EXPORT
None by default.
COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Copyright (C) 2002,2003 Max Maischein
AUTHOR
Max Maischein, <corion@cpan.org>
Please contact me if you find bugs or otherwise improve the module. More tests are also very welcome !
SEE ALSO
WWW::Mechanize,WWW::Mechanize::Shell, WWW::Mechanize::FormFiller,WWW::Mechanize::FormFiller::Value,
WWW::Mechanize::FormFiller::Value::Fixed, WWW::Mechanize::FormFiller::Value::Default, WWW::Mechanize::FormFiller::Value::Random,
WWW::Mechanize::FormFiller::Value::Interactive
perl v5.10.1 2009-04-24 WWW::Mechanize::FormFiller::Value::Keep(3pm)
ok guys, I have been given a big project, I need to implement alt boot on over 40+ servers, mainly solaris 8 and AIX 4.3, AIX 5.1. A couple of questions
1)can someone describe alt boot, my take is that if the primary disk fails(disk with root filesystems), this altboot disk takes over
2)can... (4 Replies)
hello,
i have a structure defined as follows
struct Image
{
int lenght;
int height;
};
and i have another structure where i declare a array of the above structure
struct ShapeImage
{
Image image;
};
when i compile this code with gcc it shows me the following error :
... (3 Replies)
I would like to use the WWW::Mechanize module to access a webpage that is password-protected. I was wondering if there was a way to make the input silent when asked from the script. For example:
What is your password: <password>
Where <password> is where you put your password, but is silent... (2 Replies)
Hi,
I'm trying gcov on my Debian VM.
gcov (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Copyright (C) 2006 Free Software Foundation, Inc.
It work with example program, but I got link error in my application code.
C_FLAGS += -Wall -W -O0 -fprofile-arcs -ftest-coverage
Each class... (1 Reply)
I have a xml file which contains image tag as follows:
<image><img src="wstc_0007_0007_0_img0001.jpg" width="351" height="450" alt="This is the cover page. Brazil • Japan • Korea • Mexico • Singapore • Spain" type="photograph" orient="portrait"/></image>
... (5 Replies)
Hi everybody,
Is it possible to have a URL link i.e. <a href=""></a>, which sends out two requests to a site?
As an example, I want want to combine these two links. The first link loads files. The second link searches these files. But I want just one link, where went a user clicks on it,... (3 Replies)
So, I've just started learning Perl, and I've decided to read up on some modules. I encountered WWW::Mechanize, which interests me, so I decided to try out a couple of basic tutorials. One of them is found here. I tried what seems a very basic case:
#!/usr/bin/perl
use WWW::Mechanize;
$url... (1 Reply)
Hi,
I want to install WWW:Mechanize module.
Followed the following steps:
1. wget http://www.cpan.org/authors/id/C/CO/CORION/Bundle-
WWW-Mechanize-Shell-0.29.tar.gz
perl Makefile.PL
make
make test
make install (Got the below message)
Appending installation info to... (1 Reply)
Could I please get recommendations on how to image a hd. What software is best and what methods are best? After a lot of googling these programs are the most talked about that I saw. Is one better than other? Or is one better for certain file systems? I plan on doing this to a ntfs hd.
... (4 Replies)
Hello,
Am very new to perl , please help me here !!
I need help in reading a URL from command line using PERL:: Mechanize and needs all the contents from the URL to get into a file.
below is the script which i have written so far ,
#!/usr/bin/perl
use LWP::UserAgent;
use... (2 Replies)
Discussion started by: scott_cog
2 Replies
12. Post Here to Contact Site Administrators and Moderators
Hello Admin Team,
Greetings !!
I was not able to login to the site as URL for unix.com was not up. Sorry to bother you, could you please let us know if there was any issue with the link or it was a preplanned outage. Happy that URL is up and fine now and we can start learning as usual.
... (2 Replies)
Hello everyone,
I've got some problem intalling a perl module.
The installation is well done as you can see below.
gueg@ux31:~$ sudo apt-get install libwww-mechanize-perl
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état...... (4 Replies)
Hi Folks,
I am running a website and that needs to be tightened with security in terms of hacking... Whereas, In my URL, when i click on certain links the entire link as contains some words like below:/control_panel
/controlpanel
/admin
/cms
Whereas, i need to block those words in apache... (1 Reply)