Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.319.497 Times

B::Lint 1.09

  Date Added: September 06, 2010  |  Visits: 943

B::Lint

Report Broken Link
Printer Friendly Version


Product Homepage
Download (107 downloads)



B::Lint module contains Perl lint. SYNOPSIS perl -MO=Lint[,OPTIONS] foo.pl The B::Lint module is equivalent to an extended version of the -w option of perl. It is named after the program lint which carries out a similar process for C programs. OPTIONS AND LINT CHECKS Option words are separated by commas (not whitespace) and follow the usual conventions of compiler backend options. Following any options (indicated by a leading -) come lint check arguments. Each such argument (apart from the special all and none options) is a word representing one possible lint check (turning on that check) or is no-foo (turning off that check). Before processing the check arguments, a standard list of checks is turned on. Later options override earlier ones. Available options are: magic-diamond Produces a warning whenever the magic <> readline is used. Internally it uses perls two-argument open which itself treats filenames with special characters specially. This could allow interestingly named files to have unexpected effects when reading. % touch rm *| % perl -pe 1 The above creates a file named rm *|. When perl opens it with <> it actually executes the shell program rm *. This makes <> dangerous to use carelessly. context Produces a warning whenever an array is used in an implicit scalar context. For example, both of the lines $foo = length(@bar); $foo = @bar; will elicit a warning. Using an explicit scalar() silences the warning. For example, $foo = scalar(@bar); implicit-read and implicit-write These options produce a warning whenever an operation implicitly reads or (respectively) writes to one of Perls special variables. For example, implicit-read will warn about these: /foo/; and implicit-write will warn about these: s/foo/bar/; Both implicit-read and implicit-write warn about this: for (@a) { ... } bare-subs This option warns whenever a bareword is implicitly quoted, but is also the name of a subroutine in the current package. Typical mistakes that it will trap are: use constant foo => bar; @a = ( foo => 1 ); $b{foo} = 2; Neither of these will do what a naive user would expect. dollar-underscore This option warns whenever $_ is used either explicitly anywhere or as the implicit argument of a print statement. private-names This option warns on each use of any variable, subroutine or method name that lives in a non-current package but begins with an underscore ("_"). Warnings arent issued for the special case of the single character name "_" by itself (e.g. $_ and @_). undefined-subs This option warns whenever an undefined subroutine is invoked. This option will only catch explicitly invoked subroutines such as foo() and not indirect invocations such as &$subref() or $obj->meth(). Note that some programs or modules delay definition of subs until runtime by means of the AUTOLOAD mechanism. regexp-variables This option warns whenever one of the regexp variables $`, $& or $ is used. Any occurrence of any of these variables in your program can slow your whole program down. See perlre for details. all Turn all warnings on. none Turn all warnings off..

Requirements: No special requirements
Platforms: Linux
Keyword: Blint Contains Perl Foo Libraries Lint Option Options Perl Programming Whenever
Users rating: 0/10

License: Freeware Size: 17.41 KB
USER REVIEWS
More Reviews or Write Review


B::LINT RELATED
Libraries  -  Doc::Perlish 0.14
Doc::Perlish is a Perl module that contains Perl Documentation Tools. SYNOPSIS my $doc = Doc::Perlish->new( type => "POD", input => "source.pod" ); # simple conversions; my $html = $doc->to_html; # DOM-style interface; see...
56.32 KB  
Libraries  -  Statistics::Cluto 0.01
Statistics::Cluto package contains Perl binding for CLUTO. SYNOPSIS use Statistics::Cluto; use Data::Dumper; my $c = new Statistics::Cluto; $c->set_dense_matrix(4, 5, [ [8, 8, 0, 3, 2], [2, 9, 9, 1, 4], [7, 6, 1, 2, 3], [1, 7, 8, 2,...
27.65 KB  
Libraries  -  perlfilter 5.8.8
perlfilter package contains Perl source filters. This article is about a little-known feature of Perl called source filters. Source filters alter the program text of a module before Perl sees it, much as a C preprocessor alters the source text...
12.2 MB  
Libraries  -  perlrecharclass 5.9.5
perlrecharclass package contains Perl regular expression character classes. The top level documentation about Perl regular expressions is found in perlre. This manual page discusses the syntax and use of character classes in Perl Regular...
14.8 MB  
Libraries  -  Speech::Recognizer::ViaVoice 0.02
Speech::Recognizer::ViaVoice contains Perl wrappers for IBMs ViaVoice speech Recognizer library. SYNOPSIS use Speech::Recognizer::ViaVoice; $| = 1; if (0 == connectEngine) { if ( 0 == defineVocab(myTestVocab, [hello,world,quit]) ) { print...
8.19 KB  
Network & Internet  -  mod_perl 2.0.3
mod_perl project brings together the full power of the Perl programming language and the Apache HTTP server. You can use Perl to manage Apache, respond to requests for web pages and much more. mod_perl gives you a persistent Perl interpreter...
3.5 MB  
Libraries  -  Tk::CmdLine
Tk::CmdLine contains process standard X11 command line options and set initial resources. SYNOPSIS Tk::CmdLine::SetArguments([@argument]); my $value = Tk::CmdLine::cget([$option]); Tk::CmdLine::SetResources((@resource | $resource) [,...
5.7 MB  
Libraries  -  Gnome Devtool Libraries 0.7.0
Gnome Devtool Libraries project contains components and libraries that are intended to be shared between GNOME development tools, including gnome-debug, gnome-build, and anjuta2. The current pieces of GDL include: - A symbol browser bonobo...
583.68 KB  
Utilities  -  Perl OS 4
Perl OS is a program written in the Perl programming language combined with the Perl module Tk. Perl OS was created to make an easy interface to run Perl/Tk programs. It was also created to be an easy working environment complete with a text...
143.36 KB  
Web Authoring  -  WebAPP 1.0 SE
WebAPP is a popular, open source Content Management System (cms) written in the Perl programming language. The name WebAPP is an abbreviation of Web Automated Perl Portal. Available under the GNU General Public License, WebAPP is free software....
2 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB