diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-05-24 11:33:31 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-05-24 11:33:31 +0300 |
commit | abaf2625ecd102b4027c9edcce7349ad1af5d261 (patch) | |
tree | 1f58ddc27802d986aced75f4bd63e212147c8c40 /lib/App | |
parent | 54a2a687395af39a34263d978f818e0fc4ba8254 (diff) | |
download | glacier-abaf2625ecd102b4027c9edcce7349ad1af5d261.tar.gz glacier-abaf2625ecd102b4027c9edcce7349ad1af5d261.tar.bz2 |
Add Makefile.PL
Diffstat (limited to 'lib/App')
-rw-r--r-- | lib/App/Glacier/Config/Locus.pm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/App/Glacier/Config/Locus.pm b/lib/App/Glacier/Config/Locus.pm index e908362..605a525 100644 --- a/lib/App/Glacier/Config/Locus.pm +++ b/lib/App/Glacier/Config/Locus.pm @@ -8,15 +8,15 @@ our @ISA = qw(Exporter); =head1 NAME -App::Beam::Config::Locus - source file location +App::Glacier::Config::Locus - source file location =head1 SYNOPSIS -use App::Beam::Config::Locus; +use App::Glacier::Config::Locus; -$locus = new App::Beam::Config::Locus; +$locus = new App::Glacier::Config::Locus; -$locus = new App::Beam::Config::Locus($file, $line); +$locus = new App::Glacier::Config::Locus($file, $line); $locus->add($file, $line); @@ -30,7 +30,7 @@ $locus->fixup_lines(); Provides support for manipulating source file locations. -=head2 $locus = new App::Beam::Config::Locus($file, $line); +=head2 $locus = new App::Glacier::Config::Locus($file, $line); Creates a new locus object. Arguments are optional: either no arguments should be given, or both of them. If given, they indicate the source @@ -78,7 +78,7 @@ them by representing contiguous line ranges as B<I<X>-I<Y>> and outputting each file name once. Line ranges are separated by commas. File locations are separated by semicolons. E.g.: - $locus = new App::Beam::Config::Locus("foo", 1); + $locus = new App::Glacier::Config::Locus("foo", 1); $locus->add("foo", 2); $locus->add("foo", 3); $locus->add("foo", 5); @@ -158,7 +158,7 @@ sub fixup_names { Offsets line numbers for each named file by the given number of lines. E.g.: - $locus = new App::Beam::Config::Locus("foo", 1); + $locus = new App::Glacier::Config::Locus("foo", 1); $locus->add("foo", 2); $locus->add("foo", 3); $locus->add("bar", 3); |