02-11-2020
Thanks a TON Neo for awarding this to Scrutinizer, a well deserved award S
@Scrutinizer, First of all congrats S
First thing first, your posts are Good, concise, Up to the mark, full of knowledge and we all learn from them. Second thing for my personal experience with you on initial days of forums is, I believe you remember it(I do) where you were the first person to encourage me to learn and post, my wishes are with you sir please keep up the good work.
Thanks,
R. Singh
These 5 Users Gave Thanks to RavinderSingh13 For This Post:
7 More Discussions You Might Find Interesting
1. What is on Your Mind?
Yup it's true:
Transfer of power
This will put Python development in disarray.
Which reminded me of this thread I posted some time ago:
https://www.unix.com/what-is-on-your-mind-/249767-has-python-lost-plot.html
MadeInGermany's post 3 is probably one of the reasons but not quoted.... (1 Reply)
Discussion started by: wisecracker
1 Replies
2. What is on Your Mind?
This is mainly for Corona688, today's date 18-09-2019.
Remember from little acorns big trees grow a few months ago?
Well this is well on the way to 1000+ dls by the end of the year...
AMINET from its inception in 1992 is accessed by very, very many and the AMIGA is still loved by millions.
... (1 Reply)
Discussion started by: wisecracker
1 Replies
3. What is on Your Mind?
Dear All,
I am pleased to post that I am announcing a new award, "Poster of the Year 2019" and calling for your nominations (privately to me).
This is a new award and I plan to announce the winner for this year (2019) in January 2020. The prizes will be (still working out the details):
... (0 Replies)
Discussion started by: Neo
0 Replies
4. What is on Your Mind?
Here is a quick EOY report for 2019.
2019 has been a year of "downward trend reversal" for UNIX.com. In fact, if we compare total Google search impressions from the peak days in December 2019 to the peak days in mid December 2018, traffic is up 43% percent. That is a very respectable growth... (0 Replies)
Discussion started by: Neo
0 Replies
5. What is on Your Mind?
Dear All,
We are happy to post that I will be announcing soon my award for "Moderator of the Year 2019". This is a new award which I plan to announce in December of each year, starting this year (2019). The prizes will be (still working out the details):
A Moderator of the Year... (3 Replies)
Discussion started by: Neo
3 Replies
6. What is on Your Mind?
Today, I am very pleased to announce that the Moderator of the Year Award, 2019 has two very deserving winners.
Ravinder Singh (RavinderSingh13) and Victor Berridge (vbe)
Victor (vbe) has been a member of unix.com close to 15 years (first joined the site in 2005) and has been moderating... (5 Replies)
Discussion started by: Neo
5 Replies
7. What is on Your Mind?
You are seeing this new video here first!
Top Five Cybersecurity Threats | Earth Year 2019 | You Have Been Warned!
https://youtu.be/dRE4u9QVsSg
PS: That video has two small typos, but nothing serious. Heck it took nearly 1.5 hours to render even on a 12-core Mac Pro with 64GB of... (20 Replies)
Discussion started by: Neo
20 Replies
LEARN ABOUT DEBIAN
check::isa
Check::ISA(3pm) User Contributed Perl Documentation Check::ISA(3pm)
NAME
Check::ISA - DWIM, correct checking of an object's class
SYNOPSIS
use Check::ISA;
if ( obj($foo, "SomeClass") ) {
$foo->some_method;
}
# instead of one of these methods:
UNIVERSAL::isa($foo, "SomeClass") # WRONG
ref $obj eq "SomeClass"; # VERY WRONG
$foo->isa("SomeClass") # May die
local $@; eval { $foo->isa("SomeClass") } # too long
DESCRIPTION
This module provides several functions to assist in testing whether a value is an object, and if so asking about its class.
FUNCTIONS
obj $thing, [ $class ]
This function tests if $thing is an object.
If $class is provided, it also tests tests whether "$thing->isa($class)".
$thing is considered an object if it's blessed, or if it's a "GLOB" with a valid "IO" slot (the "IO" slot contains a FileHandle object
which is the actual invocant). This corresponds directly to "gv_fetchmethod".
obj_does $thing, [ $class_or_role ]
Just like "obj" but uses "DOES" in UNIVERSAL instead of "isa" in UNIVERSAL.
"DOES" in UNIVERSAL is just like "isa", except it's use is encouraged to query about an interface, as opposed to the object structure.
If "DOES" is not overridden by th ebject, calling it is semantically identical to calling "isa".
This is probably reccomended over "obj" for interoperability, but can be slower on Perls before 5.10.
Note that "DOES" in UNIVERSAL
inv $thing, [ $class_or_role ]
Just like "obj_does", but also returns true for classes.
Note that this method is slower, but is supposed to return true for any value you can call methods on (class, object, filehandle, etc).
Look into autobox if you would like to be able to call methods on all values.
obj_can $thing, $method
inv_can $thing, $method
Checks if $thing is an object or class, and calls "can" on $thing if appropriate.
SEE ALSO
UNIVERSAL, Params::Util, autobox, Moose, asa
VERSION CONTROL
This module is maintained using Darcs. You can get the latest version from <http://nothingmuch.woobling.org/code>, and use "darcs send" to
commit changes.
AUTHOR
Yuval Kogman <nothingmuch@woobling.org>
COPYRIGHT
Copyright (c) 2008 Yuval Kogman. All rights reserved
This program is free software; you can redistribute
it and/or modify it under the same terms as Perl itself.
perl v5.10.0 2008-07-25 Check::ISA(3pm)