GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  WWW::MECHANIZE::IMAGE (3)

.ds Aq ’

NAME

WWW::Mechanize::Image - Image object for WWW::Mechanize

CONTENTS

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

CW$link->url()

URL from the link

CW$link->base()

Base URL to which the links are relative.

CW$link->name()

Name for the field from the NAME attribute, if any.

CW$link->tag()

Tag name (either image or input)

CW$link->height()

Image height

CW$link->width()

Image width

CW$link->alt()

ALT attribute from the source tag, if any.

CW$link->URI()

Returns the URL as a URI::URL object.

CW$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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 WWW::MECHANIZE::IMAGE (3) 2015-06-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.