9 More Discussions You Might Find Interesting
1. Red Hat
I am on last semestr on my studies. I have a problem with choosing right thesis topic. Do You have maybe any ideas for thesis related to Linux area? I really need your help - the most important thing is that there should be research element in the topic because of master degree... (3 Replies)
Discussion started by: protos27
2. UNIX Desktop Questions & Answers
I have an application desigend in PHP and MySQl running on apache web server that I is running on a Amazon EC2 server Centos. I want to implement the master-master and master slave replication and high availability disaster recovery on this application database.
For this I have created two... (0 Replies)
Discussion started by: Palak Sharma
3. UNIX for Dummies Questions & Answers
Just have another quick question (2 Replies)
Discussion started by: gerperrett
4. UNIX for Dummies Questions & Answers
i want to be able to run command line commands in a java program, ive heard about java runtime, am i on the right track?
Cheers for the help (4 Replies)
Discussion started by: gerperrett
5. Shell Programming and Scripting
Hopefully this doesn't come off as too much of a "newbie" question or a flamebait. But I have recently begun working with a Sun Solaris box after having spent the past five years working with RedHat. From what i can tell, thing look fairly similar and the 'man' command is some help. But I've... (7 Replies)
Discussion started by: deckard
6. UNIX for Advanced & Expert Users
Somehow someone created a file named '-ov' in the root directory.
Given the name, the how was probably the result of some cpio command they bozo'ed.
I've tried a number of different ways to get rid of it using * and ? wildcards, '\' escape patterns etc.. They all fail with " illegal option --... (3 Replies)
Discussion started by: GSalisbury
7. UNIX for Dummies Questions & Answers
echo 'it's friday'
why appear the > (3 Replies)
Discussion started by: yls177
8. Shell Programming and Scripting
I wonder how I shall read the result below, especially 'what'
The result was shown when I entered 'w'.
E.g what is TOP? What is gosh ( what does selmgr mean?)?
login@ idle JCPU PCPU what
6:15am 7:04 39 39 TOP
6:34am 6:45 45 45 TOP
6:41am ... (1 Reply)
Discussion started by: Aelgen
I need to compile a file,but 'make' does
not work.please tell me how to use it or
need which tools? (3 Replies)
Discussion started by: dsun5
Perl::Critic::Policy::ValuesAndExpressions::ProhibitComplexVersion - Prohibit version values from outside the module.
This Policy is part of the core Perl::Critic distribution.
One tempting way to keep a group of related modules at the same version number is to have all of them import the version number from a
designated module. For example, module "Foo::Master" could be the version master for the "Foo" package, and all other modules could use its
use Foo::Master; our $VERSION = $Foo::Master::VERSION;
This turns out not to be a good idea, because all sorts of unintended things can happen - anything from unintended version number changes
to denial-of-service attacks (since "Foo::Master" is executed by the 'use').
This policy examines statements that assign to $VERSION, and declares a violation under two circumstances: first, if that statement uses a
fully-qualified symbol that did not originate in a package declared in the file; second if there is a "use" statement on the same line that
makes the assignment.
By default, an exception is made for "use version;" because of its recommendation by Perl Best Practices. See the "forbid_use_version"
configuration variable if you do not want an exception made for "use version;".
use version; our $VERSION = qv('1.2.3');
is exempt from this policy by default, because it is recommended by Perl Best Practices. Should you wish to identify "use version;" as a
violation, add the following to your perlcriticrc file:
forbid_use_version = 1
This code assumes that the hallmark of a violation is a 'use' on the same line as the $VERSION assignment, because that is the way to have
it seen by ExtUtils::MakeMaker->parse_version(). Other ways to get a version value from outside the module can be imagined, and this policy
is currently oblivious to them.
Thomas R. Wyant, III wyant at cpan dot org
Copyright (c) 2009-2011 Tom Wyant.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license
can be found in the LICENSE file included with this module.
perl v5.16.3 2014-06-0Perl::Critic::Policy::ValuesAndExpressions::ProhibitComplexVersion(3)