1DBIx::Class::Helper::ReUssuelrtSCeoDtnB:tI:rxRi:eb:suCutlleatdsCslP:ae:srHsleDlWDpIoeMcr(u:3m:)eRnetsautlitoSnet::ResultClassDWIM(3)
2
3
4

NAME

6       DBIx::Class::Helper::ResultSet::ResultClassDWIM - result_class =>
7       '::HRI' == WIN
8

SYNOPSIS

10        package MyApp::Schema::ResultSet::Foo;
11
12        __PACKAGE__->load_components(qw{Helper::ResultSet::ResultClassDWIM});
13
14        ...
15
16        1;
17
18       And then elsewhere:
19
20        my $data = $schema->resultset('Foo')->search({
21             name => 'frew'
22          }, {
23             result_class => '::HRI'
24          })->all;
25

DESCRIPTION

27       This component allows you to prefix your "result_class" with "::" to
28       indicate that it should use the default namespace, namely,
29       "DBIx::Class::ResultClass::".
30
31       "::HRI" has been hardcoded to work.  Of course "::HashRefInflator"
32       would also work fine.
33
34       See "NOTE" in DBIx::Class::Helper::ResultSet for a nice way to apply it
35       to your entire schema.
36

AUTHOR

38       Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
39
41       This software is copyright (c) 2020 by Arthur Axel "fREW" Schmidt.
42
43       This is free software; you can redistribute it and/or modify it under
44       the same terms as the Perl 5 programming language system itself.
45
46
47
48perl v5.36.0                DBIx::2C0l2a2s-s0:7:-H2e2lper::ResultSet::ResultClassDWIM(3)
Impressum