BSD Ports

www/p5-Catalyst-Plugin-Params-Nested 0.05_1 FreeBSD

Nested params (ala Ruby on Rails or PHP-style param arrays)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
www, perl5
Package size
8.9 KiB, 12.9 KiB installed

Description

Ruby on Rails has a nice feature to create nested parameters that help with the organization of data in a form - parameters can be an arbitrarily deep nested structure.

The way this structure is denoted is that when you construct a form the field names have a special syntax which is parsed.

This plugin supports two syntaxes:

dot notation

    <input name="foo.bar.gorch" />

subscript notation

    <input name="foo\[bar\]\[gorch\]" />

When reading query parameters from $c->req you can now access all the items starting with "foo" as one entity using $c->req->param('foo');. Each subitem, denoted by either the dot or the square brackets, will be returned as a further deeper hashref.

In the other systems

SystemPortVersion
FreeBSDwww/p5-Catalyst-Plugin-Params-Nested0.05_1
DragonFlywww/p5-Catalyst-Plugin-Params-Nested0.05_1
HardenedBSDwww/p5-Catalyst-Plugin-Params-Nested0.05_1
GhostBSDwww/p5-Catalyst-Plugin-Params-Nested0.05_1

Install

Binary package:

pkg install p5-Catalyst-Plugin-Params-Nested

From the ports tree:

cd /usr/ports/www/p5-Catalyst-Plugin-Params-Nested/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Catalyst-Plugin-Params-Nested>0:www/p5-Catalyst-Plugin-Params-Nested

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.05_10.05_10.05_10.05_10.05_1
FreeBSD:14:quarterly0.05_10.05_1n/a0.05_10.05_1
FreeBSD:15:latest0.05_10.05_1n/a0.05_10.05_1
FreeBSD:15:quarterly0.05_10.05_1n/an/an/a
FreeBSD:16:latest0.05_10.05_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 104

The first 100 are listed.

Run dependencies 104

The first 100 are listed.

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 4
  • %%PERL5_MAN3%%/Catalyst::Plugin::Params::Nested.3.gz
  • %%PERL5_MAN3%%/Catalyst::Plugin::Params::Nested::Expander.3.gz
  • %%SITE_PERL%%/Catalyst/Plugin/Params/Nested.pm
  • %%SITE_PERL%%/Catalyst/Plugin/Params/Nested/Expander.pm
distinfo 1
FileSizeSHA256
Catalyst-Plugin-Params-Nested-0.05.tar.gz19581a15b1c80130ed2d297844e7b0057ae756a6d7dc4e1b8cb8ecce4002ec4d1ee6a
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.