Subject: Re: [RFC] Applying a graft to a tree and "rippling" the changes through the history

From: [email-masked] (Randal L. Schwartz)
Date: 06 Nov 2005 14:43:17 -0800

>>>>> "Ryan" == Ryan Anderson <[email-masked]> writes:

Ryan> chdir($ARGV[0]);

That's dangerous without an "or-die".  Being in the wrong directory
before you do a lot of edits is a good way to bust your disk. :)

Ryan> 	my ($commit,@parents) = split /\s+/;

split with no args splits $_ on whitespace, tossing leading whitespace,
just in case they ever put whitespace indentation ahead.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email-masked]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!