Acme-KeyboardMarathon

 view release on metacpan or  search on metacpan

source-tree-marathon.pl  view on Meta::CPAN

use File::Slurp;
use Math::BigInt lib => 'GMP';
use strict;
use warnings;

=head1 source-tree-marathon.pl

This script is designed to recursively crawl a directory of source files 
to generate a Keyboard-Marathon report for your whole project.

In does it's best to skip binary files. It will not uncompact compressed 
files.

To conserve ram, it will create a local berkley DB (called 
"marathon.db") in the current working directory. If you want to run this 
script on a regular basis this will vastly accelerate calculations as 
only new and changed files will be processed. (Deleted files will 
automatically be pruned from the DB and from calculations.)

The report will include the grand total distance, as well as a breakdown by
file type.

t/wild.txt  view on Meta::CPAN


"Druther break cayuses any day, and twice on Sundays," was the reply of
the driver, as he climbed on the wagon and started the horses.

Buck's senses came back to him, but not his strength. He lay where he
had fallen, and from there he watched the man in the red sweater.

"'Answers to the name of Buck,'" the man soliloquized, quoting from the
saloon-keeper's letter which had announced the consignment of the crate
and contents. "Well, Buck, my boy," he went on in a genial voice, "we've
had our little ruction, and the best thing we can do is to let it go at
that. You've learned your place, and I know mine. Be a good dog and all
'll go well and the goose hang high. Be a bad dog, and I'll whale the
stuffin' outa you. Understand?"

As he spoke he fearlessly patted the head he had so mercilessly pounded,
and though Buck's hair involuntarily bristled at touch of the hand,
he endured it without protest. When the man brought him water he drank
eagerly, and later bolted a generous meal of raw meat, chunk by chunk,
from the man's hand.

t/wild.txt  view on Meta::CPAN

down. Spitz ran out his tongue and laughed again, and from that moment
Buck hated him with a bitter and deathless hatred.

Before he had recovered from the shock caused by the tragic passing
of Curly, he received another shock. Francois fastened upon him an
arrangement of straps and buckles. It was a harness, such as he had seen
the grooms put on the horses at home. And as he had seen horses work,
so he was set to work, hauling Francois on a sled to the forest that
fringed the valley, and returning with a load of firewood. Though his
dignity was sorely hurt by thus being made a draught animal, he was too
wise to rebel. He buckled down with a will and did his best, though
it was all new and strange. Francois was stern, demanding instant
obedience, and by virtue of his whip receiving instant obedience;
while Dave, who was an experienced wheeler, nipped Buck's hind quarters
whenever he was in error. Spitz was the leader, likewise experienced,
and while he could not always get at Buck, he growled sharp reproof now
and again, or cunningly threw his weight in the traces to jerk Buck
into the way he should go. Buck learned easily, and under the combined
tuition of his two mates and Francois made remarkable progress. Ere they
returned to camp he knew enough to stop at "ho," to go ahead at "mush,"
to swing wide on the bends, and to keep clear of the wheeler when the

t/wild.txt  view on Meta::CPAN

the blinding day, the snow flying about him in a flashing cloud. Ere he
landed on his feet, he saw the white camp spread out before him and knew
where he was and remembered all that had passed from the time he went
for a stroll with Manuel to the hole he had dug for himself the night
before.

A shout from Francois hailed his appearance. "Wot I say?" the dog-driver
cried to Perrault. "Dat Buck for sure learn queek as anyt'ing."

Perrault nodded gravely. As courier for the Canadian Government, bearing
important despatches, he was anxious to secure the best dogs, and he was
particularly gladdened by the possession of Buck.

Three more huskies were added to the team inside an hour, making a total
of nine, and before another quarter of an hour had passed they were in
harness and swinging up the trail toward the Dyea Canon. Buck was
glad to be gone, and though the work was hard he found he did not
particularly despise it. He was surprised at the eagerness which
animated the whole team and which was communicated to him; but still
more surprising was the change wrought in Dave and Sol-leks. They
were new dogs, utterly transformed by the harness. All passiveness and

t/wild.txt  view on Meta::CPAN

"Dat Spitz fight lak hell," said Perrault, as he surveyed the gaping
rips and cuts.

"An' dat Buck fight lak two hells," was Francois's answer. "An' now we
make good time. No more Spitz, no more trouble, sure."

While Perrault packed the camp outfit and loaded the sled, the
dog-driver proceeded to harness the dogs. Buck trotted up to the place
Spitz would have occupied as leader; but Francois, not noticing him,
brought Sol-leks to the coveted position. In his judgment, Sol-leks was
the best lead-dog left. Buck sprang upon Sol-leks in a fury, driving him
back and standing in his place.

"Eh? eh?" Francois cried, slapping his thighs gleefully. "Look at dat
Buck. Heem keel dat Spitz, heem t'ink to take de job."

"Go 'way, Chook!" he cried, but Buck refused to budge.

He took Buck by the scruff of the neck, and though the dog growled
threateningly, dragged him to one side and replaced Sol-leks. The old
dog did not like it, and showed plainly that he was afraid of Buck.

t/wild.txt  view on Meta::CPAN

would get up and yawn and stretch as though he had been asleep.

It was a hard trip, with the mail behind them, and the heavy work wore
them down. They were short of weight and in poor condition when they
made Dawson, and should have had a ten days' or a week's rest at
least. But in two days' time they dropped down the Yukon bank from the
Barracks, loaded with letters for the outside. The dogs were tired, the
drivers grumbling, and to make matters worse, it snowed every day. This
meant a soft trail, greater friction on the runners, and heavier pulling
for the dogs; yet the drivers were fair through it all, and did their
best for the animals.

Each night the dogs were attended to first. They ate before the drivers
ate, and no man sought his sleeping-robe till he had seen to the feet of
the dogs he drove. Still, their strength went down. Since the beginning
of the winter they had travelled eighteen hundred miles, dragging sleds
the whole weary distance; and eighteen hundred miles will tell upon life
of the toughest. Buck stood it, keeping his mates up to their work and
maintaining discipline, though he, too, was very tired. Billee cried and
whimpered regularly in his sleep each night. Joe was sourer than ever,
and Sol-leks was unapproachable, blind side or other side.

t/wild.txt  view on Meta::CPAN


"They're weak as water, if you want to know," came the reply from one
of the men. "Plum tuckered out, that's what's the matter. They need a
rest."

"Rest be blanked," said Hal, with his beardless lips; and Mercedes said,
"Oh!" in pain and sorrow at the oath.

But she was a clannish creature, and rushed at once to the defence of
her brother. "Never mind that man," she said pointedly. "You're driving
our dogs, and you do what you think best with them."

Again Hal's whip fell upon the dogs. They threw themselves against the
breast-bands, dug their feet into the packed snow, got down low to it,
and put forth all their strength. The sled held as though it were an
anchor. After two efforts, they stood still, panting. The whip was
whistling savagely, when once more Mercedes interfered. She dropped on
her knees before Buck, with tears in her eyes, and put her arms around
his neck.

"You poor, poor dears," she cried sympathetically, "why don't you pull

t/wild.txt  view on Meta::CPAN

the dogs dropped down as though they had all been struck dead. Mercedes
dried her eyes and looked at John Thornton. Charles sat down on a log
to rest. He sat down very slowly and painstakingly what of his great
stiffness. Hal did the talking. John Thornton was whittling the last
touches on an axe-handle he had made from a stick of birch. He whittled
and listened, gave monosyllabic replies, and, when it was asked, terse
advice. He knew the breed, and he gave his advice in the certainty that
it would not be followed.

"They told us up above that the bottom was dropping out of the trail and
that the best thing for us to do was to lay over," Hal said in response
to Thornton's warning to take no more chances on the rotten ice. "They
told us we couldn't make White River, and here we are." This last with a
sneering ring of triumph in it.

"And they told you true," John Thornton answered. "The bottom's likely
to drop out at any moment. Only fools, with the blind luck of fools,
could have made it. I tell you straight, I wouldn't risk my carcass on
that ice for all the gold in Alaska."

"That's because you're not a fool, I suppose," said Hal. "All the same,

t/wild.txt  view on Meta::CPAN

It was at Circle City, ere the year was out, that Pete's apprehensions
were realized. "Black" Burton, a man evil-tempered and malicious, had
been picking a quarrel with a tenderfoot at the bar, when Thornton
stepped good-naturedly between. Buck, as was his custom, was lying in a
corner, head on paws, watching his master's every action. Burton struck
out, without warning, straight from the shoulder. Thornton was sent
spinning, and saved himself from falling only by clutching the rail of
the bar.

Those who were looking on heard what was neither bark nor yelp, but a
something which is best described as a roar, and they saw Buck's body
rise up in the air as he left the floor for Burton's throat. The man
saved his life by instinctively throwing out his arm, but was hurled
backward to the floor with Buck on top of him. Buck loosed his teeth
from the flesh of the arm and drove in again for the throat. This time
the man succeeded only in partly blocking, and his throat was torn open.
Then the crowd was upon Buck, and he was driven off; but while a surgeon
checked the bleeding, he prowled up and down, growling furiously,
attempting to rush in, and being forced back by an array of hostile
clubs. A "miners' meeting," called on the spot, decided that the dog had
sufficient provocation, and Buck was discharged. But his reputation was

t/wild.txt  view on Meta::CPAN

But Thornton fell on his knees beside Buck. Head was against head,
and he was shaking him back and forth. Those who hurried up heard him
cursing Buck, and he cursed him long and fervently, and softly and
lovingly.

"Gad, sir! Gad, sir!" spluttered the Skookum Bench king. "I'll give you
a thousand for him, sir, a thousand, sir--twelve hundred, sir."

Thornton rose to his feet. His eyes were wet. The tears were streaming
frankly down his cheeks. "Sir," he said to the Skookum Bench king, "no,
sir. You can go to hell, sir. It's the best I can do for you, sir."

Buck seized Thornton's hand in his teeth. Thornton shook him back and
forth. As though animated by a common impulse, the onlookers drew back
to a respectful distance; nor were they again indiscreet enough to
interrupt.




Chapter VII. The Sounding of the Call



( run in 1.074 second using v1.01-cache-2.11-cpan-4e96b696675 )