02-03-2008
see the
HP-UX links - that will answer most of your questions.
8 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I have a SuSE8.1 Linux box running as a testing webserver to my small network. It's administered through ssh and webmin entirely, and doesn't have a monitor.
I could really do with the graphics card for another machine, but if I take it out, I can't start the machine up.
Any ideas how I can... (6 Replies)
Discussion started by: mistafeesh
6 Replies
2. AIX
Hello there!
Can anybody help me with regards to the driver of GXT250P graphics adapter. I have searched the web for the fileset devices.pci.14103c00 however no success was found. My current AIX version is 4.1.5 and my machine is 7043-140. My installation AIX CD is not working anymore, so I... (0 Replies)
Discussion started by: bright_genius
0 Replies
3. AIX
Hi All -
I looked through this forum and a couple of other places without success. Maybe someone here can help. I very recently came into possession of a p520, a 9131-52A. It arrived without documentation, mouse, keyboard, or graphics card.
I managed to get ASMI to work on both DB-9 ports... (6 Replies)
Discussion started by: MikeJ
6 Replies
4. Solaris
is it possible to swap the Turbo XGX graphics card in the SS5 to the ULTRA server 1 ? and do they use the same type of RAM ?
Thx. (0 Replies)
Discussion started by: mads-nielsen
0 Replies
5. Solaris
Hi,
I need to start the Xserver process in a domain of a E25K which has installed Solaris 8, however this domain doesn't have installed a graphic card, is this possible? Or is there any way to emulate this process?
In fact I don't know how to stop or start the Xserver process, is with... (5 Replies)
Discussion started by: wolf8006
5 Replies
6. HP-UX
Hi Gurus,
I'm trying to install Oracle on HP-UX 11.23. The Oracle installer needs an X server running on the box. You then start an X client on your PC, export the DISPLAY on UNIX and the installer displays on your PC. The problem is that my HP boxes do not have graphics cards installed. ... (6 Replies)
Discussion started by: kskywr
6 Replies
7. Solaris
Hi Guys,
Anyone know any commands to verify the graphics card is installed correctly on an M4000?
show-displays just comes back and echoes nothing.
Also there is on input-device or output-device variable when you run printenv.
This in itself is worrying.
Any advice would be... (4 Replies)
Discussion started by: callmebob
4 Replies
8. Ubuntu
I am trying to install this NVIDIA-Linux 64-260.19.04.run graphics card, it is a GeForce GTX460 EVGA. I have tried all the commands to turn off the Xserver yes I can get it off yes I can get to root prompt or sudo prompt in home directory but every time I use the sh NVIDIA-Linux 64-260.19.04.run... (0 Replies)
Discussion started by: jackdevon
0 Replies
LEARN ABOUT MOJAVE
html::linkextor
HTML::LinkExtor(3) User Contributed Perl Documentation HTML::LinkExtor(3)
NAME
HTML::LinkExtor - Extract links from an HTML document
SYNOPSIS
require HTML::LinkExtor;
$p = HTML::LinkExtor->new(&cb, "http://www.perl.org/");
sub cb {
my($tag, %links) = @_;
print "$tag @{[%links]}
";
}
$p->parse_file("index.html");
DESCRIPTION
HTML::LinkExtor is an HTML parser that extracts links from an HTML document. The HTML::LinkExtor is a subclass of HTML::Parser. This means
that the document should be given to the parser by calling the $p->parse() or $p->parse_file() methods.
$p = HTML::LinkExtor->new
$p = HTML::LinkExtor->new( $callback )
$p = HTML::LinkExtor->new( $callback, $base )
The constructor takes two optional arguments. The first is a reference to a callback routine. It will be called as links are found. If
a callback is not provided, then links are just accumulated internally and can be retrieved by calling the $p->links() method.
The $base argument is an optional base URL used to absolutize all URLs found. You need to have the URI module installed if you provide
$base.
The callback is called with the lowercase tag name as first argument, and then all link attributes as separate key/value pairs. All
non-link attributes are removed.
$p->links
Returns a list of all links found in the document. The returned values will be anonymous arrays with the following elements:
[$tag, $attr => $url1, $attr2 => $url2,...]
The $p->links method will also truncate the internal link list. This means that if the method is called twice without any parsing
between them the second call will return an empty list.
Also note that $p->links will always be empty if a callback routine was provided when the HTML::LinkExtor was created.
EXAMPLE
This is an example showing how you can extract links from a document received using LWP:
use LWP::UserAgent;
use HTML::LinkExtor;
use URI::URL;
$url = "http://www.perl.org/"; # for instance
$ua = LWP::UserAgent->new;
# Set up a callback that collect image links
my @imgs = ();
sub callback {
my($tag, %attr) = @_;
return if $tag ne 'img'; # we only look closer at <img ...>
push(@imgs, values %attr);
}
# Make the parser. Unfortunately, we don't know the base yet
# (it might be different from $url)
$p = HTML::LinkExtor->new(&callback);
# Request document and parse it as it arrives
$res = $ua->request(HTTP::Request->new(GET => $url),
sub {$p->parse($_[0])});
# Expand all image URLs to absolute ones
my $base = $res->base;
@imgs = map { $_ = url($_, $base)->abs; } @imgs;
# Print them out
print join("
", @imgs), "
";
SEE ALSO
HTML::Parser, HTML::Tagset, LWP, URI::URL
COPYRIGHT
Copyright 1996-2001 Gisle Aas.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.18.2 2013-03-25 HTML::LinkExtor(3)