- or download this
use Term::ReadLine;
...
if (!$history) { $term->addhistory($_) if /\S/;
}
}
- or download this
myshell> @test = (a,b,c,d)
myshell> print "@test";
myshell> a b c d
- or download this
myshell> open OUT, '>/tmp/test';
myshell> print OUT "Hello world !"; close OUT