Padre::Util - Padre Utility Functions
The Padre::Util package is a internal storage area for miscellaneous functions that aren't really Padre-specific that we want to throw somewhere it won't clog up task-specific packages.
All functions are exportable and documented for maintenance purposes, but except for in the Padre core distribution you are discouraged in the strongest possible terms for relying on these functions, as they may be moved, removed or changed at any time without notice.
my $type = newline_type( $string );
Returns None if there was not CR or LF in the file.
Returns UNIX, Mac or Windows if only the appropriate newlines were found.
Returns Mixed if line endings are mixed.
See the support section of the main Padre module.
Copyright 2008 Gabor Szabo.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.
To install Padre, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Padre
CPAN shell
perl -MCPAN -e shell install Padre
For more information on module installation, please visit the detailed CPAN module installation guide.