diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-02-21 18:00:59 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-02-21 18:00:59 +0000 |
commit | 512c92973dc5eceae594bd389350a1ab16da7981 (patch) | |
tree | e5a3cf0ec14607fcfe36b1764c740977b79f7feb /perl-install/partition_table.pm | |
parent | dfeb8ebdc3f035b35e24dda340244a2ffbfeeff1 (diff) | |
download | drakx-512c92973dc5eceae594bd389350a1ab16da7981.tar drakx-512c92973dc5eceae594bd389350a1ab16da7981.tar.gz drakx-512c92973dc5eceae594bd389350a1ab16da7981.tar.bz2 drakx-512c92973dc5eceae594bd389350a1ab16da7981.tar.xz drakx-512c92973dc5eceae594bd389350a1ab16da7981.zip |
cleanup Data::Dumper use
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r-- | perl-install/partition_table.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm index bd10c2252..e7fd1e1ff 100644 --- a/perl-install/partition_table.pm +++ b/perl-install/partition_table.pm @@ -3,7 +3,6 @@ package partition_table; # $Id$ #use diagnostics; #use strict; #use vars qw(@ISA %EXPORT_TAGS @EXPORT_OK @important_types @important_types2 @fields2save); -use Data::Dumper; @ISA = qw(Exporter); %EXPORT_TAGS = ( @@ -688,6 +687,7 @@ sub save($$) { my ($hd, $file) = @_; my @h = @{$hd}{@fields2save}; local *F; + require Data::Dumper; open F, ">$file" and print F Data::Dumper->Dump([\@h], ['$h']), "\0" or die _("Error writing to file %s", $file); |