Sponsored Content
Top Forums UNIX for Dummies Questions & Answers how to find out the systen and n/w charecteristics by writing codes in c Post 302172525 by vino on Tuesday 4th of March 2008 03:01:52 AM
Old 03-04-2008
Homework rule violation.
 

10 More Discussions You Might Find Interesting

1. Programming

How to get Key codes

Hi Experts, I like to get the Key codes of the keys in the Keyboard while I press it. Its something like scan code. I want to know which key had been pressed. Can anyone fine me a solution for this using C. Regards Anent (12 Replies)
Discussion started by: anent
12 Replies

2. UNIX for Dummies Questions & Answers

Writing "find" code in C

I've got a project that writing "find" C code in solaris. That is finding a file in current and sub directories. While I am looking for some example on the book for two days, but I have no idea where to start. I think I need to use recursion, but is it true? I am still a Unix... (2 Replies)
Discussion started by: SQ4LIFE
2 Replies

3. UNIX for Dummies Questions & Answers

Where can I find a list of exit codes? (Exit code 64)

I'm receiving an exit code 64 in our batch scheduler (BMC product control-m) executing a PERL script on UX-HP. Can you tell me where I can find a list of exit codes and their meaning. I'm assuming the exit code is from the Unix operating system not PERL. (3 Replies)
Discussion started by: jkuchar747
3 Replies

4. UNIX for Advanced & Expert Users

Return Codes

I have a simple script which renames a file.How do i capture the return code of the script if the script fails (3 Replies)
Discussion started by: kris01752
3 Replies

5. AIX

Warning codes

Dear Experts, i am very to AIX when i am trying to compile my code i am getting two warning several times like 1540-0053 (W) The declaration of a class member within the class definition must not be qualified. "/usr/include/alloca.h", line 34.9: 1540-1401 (I) An unknown "pragma __alloca" is... (1 Reply)
Discussion started by: vin_pll
1 Replies

6. UNIX for Dummies Questions & Answers

Help writing a script to find a file

I just started learning about Unix and I cant figure out what im doing wrong. I'm trying to write a script that will ask for the file name and tell what type it is. This is what i have so far. http://i63.photobucket.com/albums/h123/wacand/untitled.jpg (2 Replies)
Discussion started by: wacand
2 Replies

7. Shell Programming and Scripting

writing shell script to find line of invalid characters

Hi, I have to write s script to check an input file for invalid characters. In this script I have to find the exact line of the invalid character. If the input file contain 2 invalid character sat line 10 and 17, the script will show the value 10 and 17. Any help is appreciated. (3 Replies)
Discussion started by: beginner82
3 Replies

8. Shell Programming and Scripting

Help in writing a find/replace script using awk

Hi All, I need to write a script that will go through 600+ files and perform find and replace. I was going to use sed but there is a level of complexity that is doing my head in. To explain: I have 600+ files that have a line in them that reads (for example) FILE=DCLCLHST... (4 Replies)
Discussion started by: Kocko
4 Replies

9. Shell Programming and Scripting

how to find a job which is writing a big file and eating up space?

how to find a job which is writing a big file and eating up space? (3 Replies)
Discussion started by: rush2andy
3 Replies

10. Shell Programming and Scripting

Need some help writing a find script

hello all! well, here is my problem: i have to write a script which waits for a directory as an argument and scans it recuresively and than it prints those files, which have write permission for everyone (as relative path from the argument directory so the find will be the key). and it shouldnt... (9 Replies)
Discussion started by: Mixe3y
9 Replies
Perl::Critic::Theme(3)					User Contributed Perl Documentation				    Perl::Critic::Theme(3)

NAME
Perl::Critic::Theme - Construct thematic sets of policies. DESCRIPTION
This is a helper class for evaluating theme expressions into sets of Policy objects. There are no user-serviceable parts here. INTERFACE SUPPORT
This is considered to be a non-public class. Its interface is subject to change without notice. METHODS
"new( -rule => $rule_expression )" Returns a reference to a new Perl::Critic::Theme object. "-rule" is a string expression that evaluates to true or false for each Policy.. See "THEME RULES" for more information. "policy_is_thematic( -policy => $policy )" Given a reference to a Perl::Critic::Policy object, this method returns evaluates the rule against the themes that are associated with the Policy. Returns 1 if the Policy satisfies the rule, 0 otherwise. " rule() " Returns the rule expression that was used to construct this Theme. The rule may have been translated into a normalized expression. See "THEME RULES" for more information. THEME RULES A theme rule is a simple boolean expression, where the operands are the names of any of the themes associated with the Perl::Critic::Polices. Theme names can be combined with logical operators to form arbitrarily complex expressions. Precedence is the same as normal mathematics, but you can use parentheses to enforce precedence as well. Supported operators are: Operator Altertative Example ---------------------------------------------------------------- && and 'pbp && core' || or 'pbp || (bugs && security)' ! not 'pbp && ! (portability || complexity) See "CONFIGURATION" in Perl::Critic for more information about customizing the themes for each Policy. SUBROUTINES
"cook_rule( $rule )" Standardize a rule into a almost executable Perl code. The "almost" comes from the fact that theme names are left as is. CONSTANTS
$RULE_INVALID_CHARACTER_REGEX A regular expression that will return the first character in the matched expression that is not valid in a rule. AUTHOR
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com> COPYRIGHT
Copyright (c) 2006-2011 Imaginative Software Systems 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::Theme(3)
All times are GMT -4. The time now is 01:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy