<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,10 +1,17 @@
-use 5.006; #warnings.pm;
+use 5.10.0;
 
 use strict;
 use warnings;
 
+use Getopt::Long;
 use Module::Build;
 
+GetOptions( 
+    upgrade =&gt; \my $opt_upgrade,
+);
+
+$opt_upgrade ||= $ENV{TASK_UPGRADE};
+
 my $builder = Module::Build-&gt;new(
     module_name       =&gt; 'Task::BeLike::YANICK',
     license           =&gt; 'perl',
@@ -38,9 +45,15 @@ sub get_requirements {
         next unless /^=item \s+/x;
 
         my ( $module, $version ) = split ' ' =&gt; $';
-
         $module =~ s/^ L&lt; (.*?) &gt; $/$1/x;
 
+        if ( $opt_upgrade and not $version ) {
+            require CPANPLUS::Backend;
+            state $cb = CPANPLUS::Backend-&gt;new;
+
+            $version = $cb-&gt;module_tree( $module )-&gt;package_version;
+        }
+
         $requirements{$module} = $version || 0;
     }
 </diff>
      <filename>Build.PL</filename>
    </modified>
    <modified>
      <diff>@@ -16,6 +16,12 @@ Task::BeLike::YANICK - like Yanick? Be like Yanick!
 This L&lt;Task&gt; module installs the modules that I use on
 a regular basis.
 
+Wait, there is more! 
+It can also B&lt;update&gt; the modules that I use on a regular basis! 
+To do that, do
+
+    TASK_UPGRADE=1 cpan -f Task::BeLike::YANICK
+
 =head1 MODULES INSTALLED BY THIS TASK
 
 =head2 Object-Oriented Frameworks</diff>
      <filename>lib/Task/BeLike/YANICK.pm</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>23684cf273c9c265bebba1af096d0ea0ebef8f9c</id>
    </parent>
  </parents>
  <author>
    <name>Yanick Champoux</name>
    <login></login>
    <email>yanick@babyl.dyndns.org</email>
  </author>
  <url>http://github.com/yanick/Task-BeLike-YANICK/commit/563898785d5a39af66c6d5ad3a296dfb7568bb3e</url>
  <id>563898785d5a39af66c6d5ad3a296dfb7568bb3e</id>
  <committed-date>2009-10-06T16:51:25-07:00</committed-date>
  <authored-date>2009-10-06T16:50:13-07:00</authored-date>
  <message>Adding ability to upgrade dependencies with TASK_UPGRADE</message>
  <tree>3a90ed8d0518d3bbc548801d1da8a59b2bfc7880</tree>
  <committer>
    <name>Yanick Champoux</name>
    <login></login>
    <email>yanick@babyl.dyndns.org</email>
  </committer>
</commit>
