App-Followme
view release on metacpan or search on metacpan
t/BaseData.t view on Meta::CPAN
do {
my ($sigil, $name) = $obj->split_name('$is_first');
is($sigil, '$', 'split scalar variable sigil'); # test 3
is($name, 'is_first', 'split scalar variable name'); # test 4
($sigil, $name) = $obj->split_name('@loop');
is($sigil, '@', 'split array variable sigil'); # test 5
is($name, 'loop', 'split array variable name'); # test 6
($sigil, $name) = $obj->split_name('loop');
is($sigil, '', 'split module variable sigil'); # test 7
is($name, 'loop', 'split module variable name'); # test 8
};
#----------------------------------------------------------------------
# Check ref value
do {
my $value;
my $ok_value = '';
my $ref_value = $obj->ref_value($value, '$', 'is_first');
( run in 1.264 second using v1.01-cache-2.11-cpan-2ed5026b665 )