/[Frey]/trunk/lib/Frey/Request.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/lib/Frey/Request.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 149 - (show annotations)
Wed Jul 16 21:23:27 2008 UTC (14 years, 4 months ago) by dpavlin
File size: 474 byte(s)
partially working label editor in ObjectDesigner -- no save yet! [0.13]
1 package Frey::Request;
2
3 use strict;
4 use warnings;
5
6 use Carp qw/confess/;
7 use Data::Dump qw/dump/;
8
9 our $current;
10
11 =head2 params
12
13 my $f = Frey::Request->params;
14
15 =cut
16
17 sub params {
18 my $self = shift;
19 # confess "current request ",dump( $current ), " doesn't have params" unless $current->can('params');
20 confess "current request ",dump( $current ), " isn't Continuity::RequestHolder " unless ref($current) eq 'Continuity::RequestHolder';
21 return { $current->params };
22 }
23
24 1;

  ViewVC Help
Powered by ViewVC 1.1.26