02-14-2007
That is obfuscated code with a recursive call to main(). It is deliberately messed up to be "funny". In short, it is not worth the effort to figure it out.
Plus, compilers wil generate lots of warnings. Code compiled with warnings is code that works thru coincidence.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do you or what is the setup to keep the (server) up from shutting down? It is not server yet but it might very likely become to serve few clients. But, once I get in in the morning its off. It's Sparc, Solaris 8 and I would like to keep it running over night but once it is not attended it... (2 Replies)
Discussion started by: softarch
2 Replies
2. UNIX for Dummies Questions & Answers
Just saw this OEM abbreviation during installation of Solaris 8.
I'm curious to know what the letters stand for and what OEM actually is. (3 Replies)
Discussion started by: Kanu77
3 Replies
3. UNIX for Dummies Questions & Answers
If not, where did the name come from? (6 Replies)
Discussion started by: pudad
6 Replies
4. Shell Programming and Scripting
Hi all,
I am working on following script which is already working and i am trying to understand but could not can any body help me in follwoing script.
I understand that it deletes record from tables. using DB2 import from /dev/null. I dont know where in second portion it loads the data in to... (0 Replies)
Discussion started by: sam71
0 Replies
5. Solaris
hi all ,
we are in the process of migrating from one system to another.
i have some questions/concerns and i hope that u can help me with.
1) . we are in the process of merging to seperate system together , these applications run on 2 seperate sunfires . after the merge we will have one... (0 Replies)
Discussion started by: ppass
0 Replies
6. IP Networking
as title. and how is it different from PF_INET ?
also, any one knows sin_family , sin_port , sin_addr ..etc ? why are they called 'sin' ?
finally, htons() host to network short , htonl() host to network long , ntohs() network to host short , ntohl() network to host long. why would... (6 Replies)
Discussion started by: trapeze
6 Replies
7. HP-UX
I have a HP-UX11i machine on the network and that works fine.
But, now i want to start this machine without network connection?
How must i do this?
Because, if i pull out the network cable it will not boot. (5 Replies)
Discussion started by: bavl
5 Replies
8. Shell Programming and Scripting
Hi all,
During reading the code, i met such expressment in a KSH script. I can not figure out what does this mean and don't know how to search it in the web. Could you please check below snippet and let me know what does this mean in a shell script:
VARIABLE=1
if ; then
.... (3 Replies)
Discussion started by: sleepy_11
3 Replies
9. Shell Programming and Scripting
What does - z and {} means
if ; then
echo "ERROR: \$ARBORDBU environment variable is not set\n" (8 Replies)
Discussion started by: rafa_fed2
8 Replies
10. IP Networking
**this was posted in another forum I suspect wrong one moved here **:confused:
Hello all. Let me qualify my question by saying that I am struggling with how to ask the question I am semi green but have no issue reading up if pointed in the right direction. Please be gentle!
A RHEL server 6.2.... (4 Replies)
Discussion started by: rsheikh01
4 Replies
LEARN ABOUT CENTOS
perl::critic::policy::testinganddebugging::requireusewarnings
Perl::Critic::Policy::TestingAndDebugging::RequireUseWarUsersContributed Perl DocuPerl::Critic::Policy::TestingAndDebugging::RequireUseWarnings(3)
NAME
Perl::Critic::Policy::TestingAndDebugging::RequireUseWarnings - Always "use warnings".
AFFILIATION
This Policy is part of the core Perl::Critic distribution.
DESCRIPTION
Using warnings, and paying attention to what they say, is probably the single most effective way to improve the quality of your code. This
policy requires that the 'use warnings' statement must come before any other statements except "package", "require", and other "use"
statements. Thus, all the code in the entire package will be affected.
There are special exemptions for Moose, Moose::Role, and Moose::Util::TypeConstraints because they enforces warnings; e.g. 'use Moose' is
treated as equivalent to 'use warnings'.
This policy will not complain if the file explicitly states that it is compatible with a version of perl prior to 5.6 via an include
statement, e.g. by having "require 5.005" in it.
The maximum number of violations per document for this policy defaults to 1.
CONFIGURATION
If you take make use of things like Moose::Exporter, you can create your own modules that import the warnings pragma into the code that is
"use"ing them. There is an option to add to the default set of pragmata and modules in your .perlcriticrc: "equivalent_modules".
[TestingAndDebugging::RequireUseWarnings]
equivalent_modules = MooseX::My::Sugar
BUGS
Needs to check for -w on the shebang line.
SEE ALSO
Perl::Critic::Policy::TestingAndDebugging::ProhibitNoWarnings
AUTHOR
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
COPYRIGHT
Copyright (c) 2005-2011 Imaginative Software Systems. All rights reserved.
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-09 Perl::Critic::Policy::TestingAndDebugging::RequireUseWarnings(3)