[Bps-public-commit] r9787 - bpsbuilder/BPB/lib/BPB

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sun Dec 2 10:57:16 EST 2007


Author: sunnavy
Date: Sun Dec  2 10:57:13 2007
New Revision: 9787

Modified:
   bpsbuilder/BPB/lib/BPB/Config.pm

Log:
added DumpFile method for Config.pm

Modified: bpsbuilder/BPB/lib/BPB/Config.pm
==============================================================================
--- bpsbuilder/BPB/lib/BPB/Config.pm	(original)
+++ bpsbuilder/BPB/lib/BPB/Config.pm	Sun Dec  2 10:57:13 2007
@@ -13,9 +13,11 @@
     if ($@) {
         require YAML;
         *LoadFile = *YAML::LoadFile;
+        *DumpFile = *YAML::DumpFile;
     }
     else {
         *LoadFile = *YAML::Syck::LoadFile;
+        *DumpFile = *YAML::Syck::DumpFile;
     }
 }
 
@@ -62,6 +64,7 @@
         $self->stash->{$moniker}{backend}{project} ||=
           $self->stash->{$moniker}{project};
     }
+
 }
 
 1;



More information about the Bps-public-commit mailing list