Changeset 11021
- Timestamp:
- 05/03/08 16:30:42 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/HTTP-Engine/branches/moose/lib/HTTP/Engine/Request.pm
r11013 r11021 147 147 } 148 148 149 sub parameters { 150 my ($self, $params) = @_; 151 $self->{parameters} ||= {}; 152 153 if ($params) { 154 if (ref $params) { 155 $self->{parameters} = $params; 156 } else { 157 warn( 158 "Attempt to retrieve '$params' with req->params(), " . 159 "you probably meant to call req->param('$params')" ); 160 } 161 } 162 return $self->{parameters}; 163 } 149 has parameters => ( 150 is => 'rw', 151 isa => 'HashRef', 152 default => sub { +{} }, 153 ); 164 154 165 155 sub path {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)