8 More Discussions You Might Find Interesting
1. AIX
Hiya,
I want to automate ssh between two servers (Server A and Server B) and currently facing two problems.
I am able to automate ssh between same SSH versions but unable to do so for following conditions.
1. SSH versions are different on Server A and Server B.
2. Username is different on... (1 Reply)
Discussion started by: kamitsin
1 Replies
2. Shell Programming and Scripting
It's a little while since I used Linux in anger but when I did, Bourne shell (/bin/sh) was actually Bash (/bin/bash) in disguise :confused: - I had some native Solaris Bourne scripts that didn't want to work quite right on Linux. Is this still the case? Also, for similar reasons, is Korn shell on... (3 Replies)
Discussion started by: JerryHone
3 Replies
3. UNIX for Advanced & Expert Users
I checked unix.org but did not find any link where i can download basic unix flavour. any idea from where i can download unix.
thanks in advance.
- nilesh (14 Replies)
Discussion started by: ynilesh
14 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I would like to know why is there so many different kind of unix systems like IBM AIX, SUN Solaris and so on..
What are the issues that we would considering choosing a Unix system?
Newbie to Unix, thus this question (2 Replies)
Discussion started by: vincente
2 Replies
5. Solaris
Hi..
I am totally confused..could anyone tell me how different is Sun version of unix different from that of HP, IBM(AIX) and other flavours.
Balaji (2 Replies)
Discussion started by: balaji_prk
2 Replies
6. Shell Programming and Scripting
Hi,
I've been charged with the task of finding out whether the scripts which we use on our current DYNIX (Sequent) UNIX box will continue to run happily on our soon-to-be-installed Sun Solaris box.
I'm fairly certain that they'll be OK, but I've heard mutterings about awk running differently... (2 Replies)
Discussion started by: pbritta
2 Replies
7. Post Here to Contact Site Administrators and Moderators
UNIX comes in the most widest and broadest of functionalities and versions. Might be a good idea to:
1. introduce some vendor specific forums: e.g. HP-UX, Linux, AIX etc.
2. create more forums directed at core functionalities: e.g.: networking (already there), LVM, 3rd party applications... (1 Reply)
Discussion started by: patvdv
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am newbie to unix. I am been immensily impressed by this forum. I have installed sun solaris in my pc and started learning unix. The question is, If i know one unix flavour (say sun solaris) is that i can claim, i know all the unix and linux flavours. Can i be able to work on other vendor... (3 Replies)
Discussion started by: Balaji
3 Replies
Scalar::Util::Numeric(3pm) User Contributed Perl Documentation Scalar::Util::Numeric(3pm)
NAME
Scalar::Util::Numeric - numeric tests for Perl scalars
SYNOPSIS
use Scalar::Util::Numeric qw(isnum isint isfloat);
foo($bar / 2) if (isnum $bar);
if (isint $baz) {
# ...
} elsif (isfloat $baz) {
# ...
}
DESCRIPTION
This module exports a number of wrappers around perl's builtin "grok_number" function, which returns the numeric type of its argument, or 0
if it isn't numeric.
TAGS
All of the functions exported by Scalar::Util::Numeric can be imported by using the ":all" tag:
use Scalar::Util::Numeric qw(:all);
EXPORTS
isnum
isnum ($val)
Returns a nonzero value (indicating the numeric type) if $val is a number.
The numeric type is a conjunction of the following flags:
0x01 IS_NUMBER_IN_UV (number within UV range - not necessarily an integer)
0x02 IS_NUMBER_GREATER_THAN_UV_MAX (number is greater than UV_MAX)
0x04 IS_NUMBER_NOT_INT (saw . or E notation)
0x08 IS_NUMBER_NEG (leading minus sign)
0x10 IS_NUMBER_INFINITY (Infinity)
0x20 IS_NUMBER_NAN (NaN - not a number)
isint
isuv
isbig
isfloat
isneg
isinf
isnan
The following flavours of "isnum" (corresponding to the flags above) are also available:
isint
isuv
isbig
isfloat
isneg
isinf
isnan
"isint" returns -1 if its operand is a negative integer, 1 if it's 0 or a positive integer, and 0 otherwise.
The others always return 1 or 0.
SEE ALSO
o "type" in autobox
o Data::Types
o Params::Classify
o Params::Util
o Scalar::Util
o String::Numeric
VERSION
0.22
AUTHORS
o chocolateboy <chocolate@cpan.org>
o Michael G Schwern <schwern@pobox.com>
COPYRIGHT
Copyright (c) 2005-2010, chocolateboy.
This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.
perl v5.14.2 2010-08-25 Scalar::Util::Numeric(3pm)