David Wheeler
2006-08-09 05:21:20 UTC
Fellow Masonites,
Shouldn't the flags() method in Component.pm have a default value set
for the inherit flag?
Index: lib/HTML/Mason/Component.pm
===================================================================
--- lib/HTML/Mason/Component.pm (revision 3767)
+++ lib/HTML/Mason/Component.pm (working copy)
@@ -301,9 +301,9 @@
#
sub flag {
my ($self,$name) = @_;
- my %flag_defaults =
- (
- );
+ my %flag_defaults = (
+ inherit => 1,
+ );
if (exists($self->{flags}->{$name})) {
return $self->{flags}->{$name};
} elsif (exists($flag_defaults{$name})) {
Thanks,
David
Shouldn't the flags() method in Component.pm have a default value set
for the inherit flag?
Index: lib/HTML/Mason/Component.pm
===================================================================
--- lib/HTML/Mason/Component.pm (revision 3767)
+++ lib/HTML/Mason/Component.pm (working copy)
@@ -301,9 +301,9 @@
#
sub flag {
my ($self,$name) = @_;
- my %flag_defaults =
- (
- );
+ my %flag_defaults = (
+ inherit => 1,
+ );
if (exists($self->{flags}->{$name})) {
return $self->{flags}->{$name};
} elsif (exists($flag_defaults{$name})) {
Thanks,
David