Perltidy 20070801
Sponsored Links
Perltidy 20070801 Ranking & Summary
File size:
0.31 MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
822
Date added:
2007-08-01
Publisher:
Steve Hancock
Perltidy 20070801 description
Perltidy is a Perl script which indents and reformats Perl scripts to make them easier to read. If you write Perl scripts, or spend much time reading them, you will probably find it useful.
Configuration Files
While style preferences vary, most people would agree that it is important to maintain a uniform style within a script, and this is a major benefit provided by perltidy. Once you have decided on which, if any, special options you prefer, you may want to avoid having to enter them each time you run it. You can do this by creating a special file named .perltidyrc in either your home directory, your current directory, or certain system-dependent locations. (Note the leading ``. in the file name).
A handy command to know when you start using a configuration file is
perltidy -dpro
which will dump to standard output the search that perltidy makes when looking for a configuration file, and the contents of the one that it selects, if any. This is one of a number of useful ``dump and die commands, in which perltidy will dump some information to standard output and then immediately exit. Others include -h, which dumps help information, and -v, which dumps the version number.
Another useful command when working with configuration files is
perltidy -pro=file
which causes the contents of file to be used as the configuration file instead of a .perltidyrc file. With this command, you can easily switch among several different candidate configuration files during testing.
This .perltidyrc file is free format. It is simply a list of parameters, just as they would be entered on a command line. Any number of lines may be used, with any number of parameters per line, although it may be easiest to read with one parameter per line. Blank lines are ignored, and text after a # is ignored to the end of a line.
Here is an example of a .perltidyrc file:
This is a simple of a .perltidyrc configuration file
This implements a highly spaced style
-bl # braces on new lines
-pt=0 # parens not tight at all
-bt=0 # braces not tight
-sbt=0 # square brackets not tight
If you experiment with this file, remember that it is in your directory, since if you are running on a Unix system, files beginning with a ``. are normally hidden.
If you have a .perltidyrc file, and want perltidy to ignore it, use the -npro flag on the command line.
Configuration Files
While style preferences vary, most people would agree that it is important to maintain a uniform style within a script, and this is a major benefit provided by perltidy. Once you have decided on which, if any, special options you prefer, you may want to avoid having to enter them each time you run it. You can do this by creating a special file named .perltidyrc in either your home directory, your current directory, or certain system-dependent locations. (Note the leading ``. in the file name).
A handy command to know when you start using a configuration file is
perltidy -dpro
which will dump to standard output the search that perltidy makes when looking for a configuration file, and the contents of the one that it selects, if any. This is one of a number of useful ``dump and die commands, in which perltidy will dump some information to standard output and then immediately exit. Others include -h, which dumps help information, and -v, which dumps the version number.
Another useful command when working with configuration files is
perltidy -pro=file
which causes the contents of file to be used as the configuration file instead of a .perltidyrc file. With this command, you can easily switch among several different candidate configuration files during testing.
This .perltidyrc file is free format. It is simply a list of parameters, just as they would be entered on a command line. Any number of lines may be used, with any number of parameters per line, although it may be easiest to read with one parameter per line. Blank lines are ignored, and text after a # is ignored to the end of a line.
Here is an example of a .perltidyrc file:
This is a simple of a .perltidyrc configuration file
This implements a highly spaced style
-bl # braces on new lines
-pt=0 # parens not tight at all
-bt=0 # braces not tight
-sbt=0 # square brackets not tight
If you experiment with this file, remember that it is in your directory, since if you are running on a Unix system, files beginning with a ``. are normally hidden.
If you have a .perltidyrc file, and want perltidy to ignore it, use the -npro flag on the command line.
Perltidy 20070801 Screenshot
Perltidy 20070801 Keywords
Perltidy 20070801
Perl Script
Configuration file
Perltidy
file
configuration
perltidyrc
Perl
script
Perltidy 20070801
Code Generators
Programming
Bookmark Perltidy 20070801
Perltidy 20070801 Copyright
WareSeeker periodically updates pricing and software information of Perltidy 20070801 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Perltidy 20070801 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
perl scripts
web.config configuration file
perl scripting
emacs perltidy
perltidy vim
perltidy rpm
file extension pdf
configuration management training
perltidy options
fileneu0027s
apache configuration file
electron configuration
file extension dll
filezilla
configuration control
configuration file php.ini path
file extension dat
filecabi
Related Software
New! Allow your web visitors to sign a petition with their real signature. Free Download
PetSite v1.0 is a multi-browser compatible perl script. Free Download
ip-filter-cgi is a set of perl script to modify rules of IP Filter (IP Filter is a TCP/IP packet filter cf: http://coombs.anu.ed Free Download
Elastic Webeditor is Perl script that alows users to edit their home pages online. Free Download
mboxpurge is a Perl script for purging old messages out of mbox-style mailboxes. Free Download
ModPerl::PackageRegistry is a Perl module to map URIs to perl package namespaces. Free Download
fetchconfig is a Perl script for retrieving configuration of multiple devices. Free Download
evonotify is a little gtk-perl script to add panel-mail-notification. Free Download
Latest Software
Popular Software
Favourite Software