From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more
123456789101112 #!/usr/bin/perlpackage Sample;use 5.012;use File::Spec;use Moo;use namespace::clean;has xml => ( is => 'ro', default => sub { return File::Spec->catfile( 't', 'test-the-test', 'sample.xml' ) } );with 'Map::Tube';1;
#!/usr/bin/perl
package
Sample;
use
5.012;
File::Spec;
Moo;
namespace::clean;
has
xml
=> (
is
=>
'ro'
,
default
sub
{
return
File::Spec->catfile(
't'
'test-the-test'
'sample.xml'
) } );
with
'Map::Tube'
;
1;