Hello,
I need to redirect an existing URL, how can i do that?
There's a current web address to a GUI that I have to redirect to another webaddress. Does anyone know how to do this?
This is on Unix boxes Linux.
example:
https://m45.testing.address.net/host.php
make it so the... (3 Replies)
I am trying to find a way to test some code, but I need to rewrite a specific URL only from a specific HTTP_HOST
The call goes out to
http://SUB.DOMAIN.COM/showAssignment/7bde10b45efdd7a97629ef2fe01f7303/jsmodule/Nevow.Athena
The ID in the middle is always random due to the cookie.
I... (5 Replies)
The challenge:
Decode URL's, i.e. convert %HEX to the corresponding special characters, using only UNIX base utilities, and without having to type out each special character.
I have an anonymous C code snippet where the author assigns each hex digit a number from 0 to 16 and then does some... (2 Replies)
I have a XML in which <Amt Ccy="EUR">3.1</Amt> tag repeats. This is under another tag <Main>. I need to sum all the values of <Amt Ccy=""> (Ccy may vary) coming under <Main> using awk and or sed command.
can some help?
Sample looks like below
<root>
<Main>
... (6 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
LEARN ABOUT DEBIAN
www::mechanize::link
WWW::Mechanize::Link(3pm) User Contributed Perl Documentation WWW::Mechanize::Link(3pm)NAME
WWW::Mechanize::Link - Link object for WWW::Mechanize
SYNOPSIS
Link object to encapsulate all the stuff that Mech needs but nobody wants to deal with as an array.
Constructor
new()
my $link = WWW::Mechanize::Link->new( {
url => $url,
text => $text,
name => $name,
tag => $tag,
base => $base,
attr => $attr_href,
} );
For compatibility, this older interface is also supported:
new( $url, $text, $name, $tag, $base, $attr_href )
Creates and returns a new "WWW::Mechanize::Link" object.
Accessors
$link->url()
URL from the link
$link->text()
Text of the link
$link->name()
NAME attribute from the source tag, if any.
$link->tag()
Tag name (one of: "a", "area", "frame", "iframe" or "meta").
$link->base()
Base URL to which the links are relative.
$link->attrs()
Returns hash ref of all the attributes and attribute values in the tag.
$link->URI()
Returns the URL as a URI::URL object.
$link->url_abs()
Returns a URI::URL object for the absolute form of the string.
SEE ALSO
WWW::Mechanize and WWW::Mechanize::Image
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::Link(3pm)