03-15-2016
This User Gave Thanks to MadeInGermany For This Post:
7 More Discussions You Might Find Interesting
1. Cybersecurity
Is there a general rule I can apply when examining/editing ipfw entries?
Also, does each new entry have to have a unique rule number?
And, I think I can write a script to block code red infected machines (though I'm not sure it would do more than slim down my web server error message log),... (0 Replies)
Discussion started by: [MA]Flying_Meat
0 Replies
2. Cybersecurity
Hello,
Is there anyway to prevent users from modifying limits imposed by php.ini configuration in a phpSuExec configured PHP installation??
For example in server with PHP running in a module, I use php_admin_* directives:
php_admin_value memory_limit 40M
And users can't modify them... (0 Replies)
Discussion started by: Santi
0 Replies
3. Programming
Hi,
Anyone please explain the functionality of ## in c.
I didn't get the following preprocessor directives,
# define LL(x) x ## LL
# define LL(x) x ## i64
Thanks,
Naga:cool: (1 Reply)
Discussion started by: Nagapandi
1 Replies
4. Shell Programming and Scripting
I have four files a,b,c,d which need to contain certain in the sequence a, b, c ,d , each file command which needs to be executed,
what i m in need is that to executed file and cmd in the defined order and if any of the command FAIL or throw ERROR, it script shud come out... (3 Replies)
Discussion started by: tarunn.dubeyy
3 Replies
5. Programming
Say I have a list of enumerations I wish to use to select a variable at compile-time:
enum pins
{
PIN_A=1,
PIN_B=7,
PIN_C=6,
}
int VAR1, VAR2, VAR3, VAR4, VAR5, VAR6, VAR7;
#define PIN_TO_VAR(NUM) VAR ## NUM
int main(void)
{
PIN_TO_VAR(PIN_A)=32;... (2 Replies)
Discussion started by: Corona688
2 Replies
6. Programming
Hi,
Just wondering if it is possible to trim the file path output by __FILE__ preprocessor in my debugging line.
Let's say my main.cpp file is found in C:\User\MyName\SystemA\Mod1\SubMod2\Test\main.cpp
for __FILE__, I just want the filename - main.cpp to be printed, instead of the entire... (2 Replies)
Discussion started by: tanlccc
2 Replies
7. UNIX for Beginners Questions & Answers
Hi,
I was reviewing a shell script and I found this line:
yum -y update >> >(/usr/bin/tee /var/log/file)
I have tried removing the >> directive and all that will occur is that the file will be created--nothing gets put in the file. If I put back the >> directive it works. If I remove the... (3 Replies)
Discussion started by: mojoman
3 Replies
LEARN ABOUT MOJAVE
ppi::token::number::version
PPI::Token::Number::Version(3) User Contributed Perl Documentation PPI::Token::Number::Version(3)
NAME
PPI::Token::Number::Version - Token class for a byte-packed number
SYNOPSIS
$n = 1.1.0;
$n = 127.0.0.1;
$n = 10_000.10_000.10_000;
$n = v1.2.3.4
INHERITANCE
PPI::Token::Number::Version
isa PPI::Token::Number
isa PPI::Token
isa PPI::Element
DESCRIPTION
The "PPI::Token::Number::Version" class is used for tokens that have multiple decimal points. In truth, these aren't treated like numbers
at all by Perl, but they look like numbers to a parser.
METHODS
base
Returns the base for the number: 256.
literal
Return the numeric value of this token.
BUGS
- Does not handle leading minus sign correctly. Should translate to a DashedWord. See <http://perlmonks.org/?node_id=574573>
-95.0.1.0 --> "-_ 00cA 00"
-96.0.1.0 --> Argument "` ^A " isn't numeric in negation (-)
SUPPORT
See the support section in the main module.
AUTHOR
Chris Dolan <cdolan@cpan.org>
COPYRIGHT
Copyright 2006 Chris Dolan.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl v5.18.2 2011-02-25 PPI::Token::Number::Version(3)