04-07-2018
My thoughts are that we should change the motto of unix.com to read:
"One of the few places in cyberspace left where there are no alternative facts."
Just the facts, maam' ... as the old saying goes.
This User Gave Thanks to Neo For This Post:
6 More Discussions You Might Find Interesting
1. AIX
I read that IBM came up with a new AIX version that would be fully integrated with Linux (I guess compared to older versions of AIX that could not) and I was hoping I bring this for discussion here so I learn more about IBM UNIX OS
Can anybody put few simple and practical comparisons between... (0 Replies)
Discussion started by: aliissa
0 Replies
2. Filesystems, Disks and Memory
I'm pretty new to UNIX and i'm planning to set up a server for my company.... i'm wondering if anyone could suggest a partitioning scheme for a standalone Solaris server with two 40GB disks and 1GB of memory... It would also be supporting 100 users...
thanks ! (1 Reply)
Discussion started by: martin11
1 Replies
3. SuSE
I wanted to get people's feedback on experiences with the KDE destop environment. I played with it for a while and was impressed.
I liked the non MS apps and non MS approach to mail. via K-mail
anyone else ? (8 Replies)
Discussion started by: simon2000
8 Replies
4. News, Links, Events and Announcements
For those of you you do not follow Slackware, one of the first Linux distros, going back to 1993, you may not know that Patrick Volkerding, the man behind it all, has been very ill:
http://www.slackware.com/~volkerdi/PAT-NEEDS-YOUR-HELP.txt
Please keep Pat in your thoughts and prayers.
Neo (1 Reply)
Discussion started by: Neo
1 Replies
5. Solaris
Good morning to one and all :-)
About to set up a M5000 server, then create a few zones to port over a few apps.
So, anyone had experience of zones ? and what things I need to consider / design / workout before hand ??
I need to work out whats going to be ported over, what the ip... (6 Replies)
Discussion started by: sbk1972
6 Replies
6. Web Development
Recently, have been learning Vue and, as always, learning-by-doing, which means writing code for real-world applications. In this process, I have learned something that is not really mentioned in the majority of online Vue tutorials.
Basically, when you create a Vue instance in your browser,... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT DEBIAN
web::scraper::filter
Web::Scraper::Filter(3pm) User Contributed Perl Documentation Web::Scraper::Filter(3pm)
NAME
Web::Scraper::Filter - Base class for Web::Scraper filters
SYNOPSIS
package Web::Scraper::Filter::YAML;
use base qw( Web::Scraper::Filter );
use YAML ();
sub filter {
my($self, $value) = @_;
YAML::Load($value);
}
1;
use Web::Scraper;
my $scraper = scraper {
process ".yaml-code", data => [ 'TEXT', 'YAML' ];
};
DESCRIPTION
Web::Scraper::Filter is a base class for text filters in Web::Scraper. You can create your own text filter by subclassing this module.
There are two ways to create and use your custom filter. If you name your filter Web::Scraper::Filter::Something, you just call:
process $exp, $key => [ 'TEXT', 'Something' ];
If you declare your filter under your own namespace, like 'MyApp::Filter::Foo',
process $exp, $key => [ 'TEXT', '+MyApp::Filter::Foo' ];
You can also inline your filter function without creating a filter class:
process $exp, $key => [ 'TEXT', sub { s/foo/bar/ } ];
Note that this function munges $_ and returns the count of replacement. Filter code special cases if the return value of the callback is
number and $_ value is updated.
You can, of course, stack filters like:
process $exp, $key => [ '@href', 'Foo', '+MyApp::Filter::Bar', &baz ];
AUTHOR
Tatsuhiko Miyagawa
perl v5.14.2 2009-03-24 Web::Scraper::Filter(3pm)