view _test/any.pl @ 18:818c74b038ae

DOM Schema + tests
author Sergey
date Thu, 10 Sep 2009 17:42:47 +0400
parents 75980091813b
children 1828103371d0
line wrap: on
line source

#!/usr/bin/perl -w
use strict;

my @data = (1,2,3,4);

sub func {
    return \@data;
}

print "$_\n" and $data[3]=0 foreach @{func()};