projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4d1b6d1
)
Localise Data::Dumper global vars in example
Jess Robinson [Tue, 18 Jul 2006 18:03:26 +0000 (18:03 +0000)]
lib/DBIx/Class/Manual/Cookbook.pod
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Manual/Cookbook.pod
b/lib/DBIx/Class/Manual/Cookbook.pod
index
65f802d
..
e4b9aa1
100644
(file)
--- a/
lib/DBIx/Class/Manual/Cookbook.pod
+++ b/
lib/DBIx/Class/Manual/Cookbook.pod
@@
-778,7
+778,7
@@
dumping it. For example,
use Data::Dumper;
- $Data::Dumper::Freezer = '_dumper_hook';
+ local $Data::Dumper::Freezer = '_dumper_hook';
my $cd = $schema->resultset('CD')->find(1);
print Dumper($cd);