view _test/any.pl @ 24:7f00786f8210

Первая рабочая реазизация схемы и навигаторов
author Sergey
date Mon, 05 Oct 2009 00:48:49 +0400
parents 818c74b038ae
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()};