Skip to content

sasakure-kei/p5-Acme-Replica

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

Acme::Replica

SYNOPSIS

use strict;
use warnings;
use Acme::Replica;
use Data::Dumper;

my $scalar = 'sushi';
my $replica = replica_of( $scalar );
print $replica # sushi
print 'Never display this message.' if $replica eq 'sushi';

my @hotdog = qw/bread sausage/;
my @replica = replica_of( \@hotdog );
print Dumper \@replica;
# $var1 = [
#    'bread',
#    'sausage',
# ];
print 'Never display this message.' if $replica[0] eq 'bread';

my %buffet_table = (
    japanese => 'sukiyaki',
    amelican => 'stake',
    italian  => 'pasta',
    );
my %replica = replica_of( \%buffet_table );
print Dumper \%replica;
# $var1 = {
#    japanese => 'sukiyaki',
#    amelican => 'stake',
#    italian  => 'pasta',
#    };
print $replica{japanese}; # Use of uninitialized value in print at test.pl line ...

DESCRIPTION

This module creates a elaborate replica. The same as the food sample, it looks so delicious, but you will not able to eat.

AUTHOR

Kei Shimada <sasakure_kei __at__ cpan.org>

REPOSITORY

git clone git@github.com:sasakure-kei/p5-Acme-Replica.git

LICENCE AND COPYRIGHT

Copyright (c) 2013, Kei Shimada <sasakure_kei __at__ cpan.org>. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages