190822.1 · c6c617166106ea65d0d2f15ff62df266dba2c39b
Added --range-start and --range-end
reading declarations
Changes to t/range/. All files
t/range/america-the-beautiful.html
@@ -0,0 +1,53 @@+<!DOCTYPE html>+<html>+ <head>+ <title>America the Beautiful</title>+ </head>+ <body>+ <h1>America the Beautiful</h1>++ <div id="verse-1">+ O beautiful for spacious skies,+ For amber waves of grain,+ For purple mountain majesties+ Above the fruited plain!+ America! America!+ God shed His grace on thee+ And crown thy good with brotherhood+ From sea to shining sea!+ </div>++ <div id="verse-2">+ O beautiful for pilgrim feet,+ Whose stern, impassioned stress+ A thoroughfare for freedom beat+ Across the wilderness!+ America! America!+ God mend thine every flaw,+ Confirm thy soul in self-control,+ Thy liberty in law!+ </div>++ <div id="verse-3">+ O beautiful for heroes proved+ In liberating strife,+ Who more than self their country loved+ And mercy more than life!+ America! America!+ May God thy gold refine,+ Till all success be nobleness,+ And every gain divine!+ </div>++ <div id="verse-4">+ O beautiful for patriot dream+ That sees beyond the years+ Thine alabaster cities gleam+ Undimmed by human tears!+ America! America!+ God shed His grace on thee+ And crown thy good with brotherhood+ From sea to shining sea!+ </div>+ </body>+</html>
@@ -0,0 +1,30 @@+<!DOCTYPE html>+<html>+ <head>+ <title>Anchors Aweigh</title>>+ </head>+ <body>+ <h1>Anchors Aweigh</h1>++ <div id="verse-1">+ Stand Navy out to sea, fight our battle cry!+ We'll never change our course so vicious foes steer shy-y-y-y!+ Roll out the TNT, anchors aweigh!+ Sail on to victory, and sink their bones to Davy Jones, hooray!+ </div>++ <div id="verse-2">+ Anchors Aweigh, my boys, Anchors Aweigh!+ Farewell to foreign Shores, we sail at break of day-ay-ay-ay;+ Through our last night ashore, drink to the foam,+ Until we meet once more, here's wishing you a happy voyage home!+ </div>++ <div id="verse-3">+ Blue of the mighty deep, Gold of God's great sun;+ Let these our colors be, Till All of time be done-n-n-ne;+ On seven seas we learn, Navy's stern call:+ Faith, courage, service true, With honor over, honor over all.+ </div>+ </body>+</html>
@@ -0,0 +1,29 @@+VERSE+There once was a little Dutchman+His name was Johnny Rebeck+He was a dealer in sauerkraut+And sausages and speck+He was the finest Dutchman+The best you've ever seen+'til one day he invented+A great big sausage machine+Bang!++CHORUS+Oh, Mr. Johnny Rebeck what makes you be so mean?+I told you you'd be sorry for inventing that machine+Now all the neighbors' cats and dogs will nevermore be seen+They'll all be ground to sausages in Johnny Rebeck's machine.+Bang!++VERSE+One night the darn thing busted+The darn thing wouldn't go+So Johnny Rebeck crawled inside+To see what made it so+That night his wife had a nightmare+And walking in her sleep+She turned the crank+And gave it a yank+Pooooor Johnny Rebeck was meat+Bang!
@@ -0,0 +1,25 @@+package RangeFile;++# For testing the range function.++use warnings;+use strict;+use 5.010;++# This function calls print on "foo".+sub foo {+ print 'foo';+ return 1;+}++my $print = 1;+my $update = 5;++sub bar {+ print 'bar';+ return 2;+}+my $task = 'print';+$update = 12;++1;
t/range/stars-and-stripes-forever.html
@@ -0,0 +1,62 @@+<!DOCTYPE html>+<html>+ <head>+ <title>The Stars and Stripes Forever</title>+ </head>+ <body>+ <h1>The Stars and Stripes Forever</h1>++ <h2>By John Philip Sousa</h2>++ <div id="first-strain">+ Let martial note in triumph float+ And liberty extend its mighty hand+ A flag appears 'mid thunderous cheers,+ The banner of the Western land.+ The emblem of the brave and true+ Its folds protect no tyrant crew;+ The red and white and starry blue+ Is freedom's shield and hope.++ Let eagle shriek from lofty peak+ The never-ending watchword of our land;+ Let summer breeze waft through the trees+ The echo of the chorus grand.+ Sing out for liberty and light,+ Sing out for freedom and the right.+ Sing out for Union and its might,+ O patriotic sons.+ </div>++ <div id="second-strain">+ Other nations may deem their flags the best+ And cheer them with fervid elation+ But the flag of the North and South and West+ Is the flag of flags, the flag of Freedom's nation.+ </div>++ <div id="trio">+ Hurrah for the flag of the free!+ May it wave as our standard forever,+ The gem of the land and the sea,+ The banner of the right.+ Let despots remember the day+ When our fathers with mighty endeavor+ Proclaimed as they marched to the fray+ That by their might and by their right+ It waves forever.+ </div>++ <div id="grandioso">+ Hurrah for the flag of the free.+ May it wave as our standard forever+ The gem of the land and the sea,+ The banner of the right.+ Let despots remember the day+ When our fathers with mighty endeavor+ Proclaimed as they marched to the fray,+ That by their might and by their right+ It waves forever.+ </div>+ </body>+</html>