05-15-2013
These 2 Users Gave Thanks to DukeNuke2 For This Post:
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I use a tcsh and I need to monitor a file that its constantly updating.
In the past I remember using less -(an option) fileName.
This option told less to keep listening to this file and output the any changes.
What is this option??? I think I read the man page for less like 5 times and I... (3 Replies)
Discussion started by: jepombar
3 Replies
2. Shell Programming and Scripting
Hello guys I am trying to learn perl and have a simple calculator I am trying to run but I get error runaway multi-line. Can someone point this rookie in the right direction.
###
print 'Welcome to the Calculator';
print 'Would you like to enter the calculator? Please Type y or n';
$run =... (9 Replies)
Discussion started by: daddygrant
9 Replies
3. UNIX for Dummies Questions & Answers
normally, i hate asking someone to do my homework for me but am getting desperate right now.
i have a project about consumer producer problem. the deadline is tonight at 23:55. but i havent gotten it working yet. i just COULDNT get it to work right yet.
the problem is as follows: the C - program... (0 Replies)
Discussion started by: alexantosh
0 Replies
4. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
normally, i hate asking someone to do my homework for me but am getting desperate right now.
i have a project... (1 Reply)
Discussion started by: alexantosh
1 Replies
5. Shell Programming and Scripting
There is an error in this script on line 17 bee at it for 12 hour trying to find the problem, just lost. please help a newbie.
line 17:
#!/bin/sh
2 ## Name of the program is test_script_b.sh
3
4 ##request information from the user
5 echo enter 3 numbers
6 read a b c
7
8... (4 Replies)
Discussion started by: osdustin
4 Replies
LEARN ABOUT CENTOS
perl::critic::policy::modules::requirefilenamematchespackage
Perl::Critic::Policy::Modules::RequireFilenameMatchesPacUser(Contributed Perl DocumPerl::Critic::Policy::Modules::RequireFilenameMatchesPackage(3)
NAME
Perl::Critic::Policy::Modules::RequireFilenameMatchesPackage - Package declaration must match filename.
AFFILIATION
This Policy is part of the core Perl::Critic distribution.
DESCRIPTION
The package declaration should always match the name of the file that contains it. For example, "package Foo::Bar;" should be in a file
called "Bar.pm". This makes it easier for developers to figure out which file a symbol comes from when they see it in your code. For
instance, when you see "Foo::Bar->new()", you should be able to find the class definition for a "Foo::Bar" in a file called Bar.pm
Therefore, this Policy requires the last component of the first package name declared in the file to match the physical filename. Or if
"#line" directives are used, then it must match the logical filename defined by the prevailing "#line" directive at the point of the
package declaration. Here are some examples:
# Any of the following in file "Foo/Bar/Baz.pm":
package Foo::Bar::Baz; # ok
package Baz; # ok
package Nuts; # not ok (doesn't match physical filename)
# using #line directives in file "Foo/Bar/Baz.pm":
#line 1 Nuts.pm
package Nuts; # ok
package Baz; # not ok (contradicts #line directive)
If the file is not deemed to be a module, then this Policy does not apply. Also, if the first package namespace found in the file is
"main" then this Policy does not apply.
CONFIGURATION
This Policy is not configurable except for the standard options.
AUTHOR
Chris Dolan <cdolan@cpan.org>
COPYRIGHT
Copyright (c) 2006-2011 Chris Dolan.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.16.3 2014-06-09 Perl::Critic::Policy::Modules::RequireFilenameMatchesPackage(3)