Skip to content

An easy way to load the contents of a text file into an array of lines.

Notifications You must be signed in to change notification settings

sciurius/perl-File-LoadLines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File::LoadLines

This is the only module you'll ever need to read data

Version GitHub issues PRs Welcome Language Perl

File::LoadLines provides an easy way to load the contents of a disk file or network resource into your program.

It can deliver the contents without touching (as a blob) but its most useful purpose is to deliver the contents of text data into an array of lines. Hence the name, File::LoadLines.

It automatically handles data encodings ASCII, Latin and UTF-8 text. When the file has a BOM, it handles UTF-8, UTF-16 LE and BE, and UTF-32 LE and BE.

Recognized line terminators are NL (Unix, Linux), CRLF (DOS, Windows) and CR (Mac)

SUPPORT AND DOCUMENTATION

Development of this module takes place on GitHub: https://github.com/sciurius/perl-File-LoadLines.

You can find documentation for this module with the perldoc command.

perldoc File::LoadLines

Please report any bugs or feature requests using the issue tracker on GitHub.

COPYRIGHT AND LICENCE

Copyright (C) 2018,2020,2023 Johan Vromans

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

About

An easy way to load the contents of a text file into an array of lines.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages