Hello!

And thanks for your answer...

Andrew Curry wrote:

Whilst you can do by turning off strict and using an array of arraynames
and looping over them, its clear concise the way you are doing it.

Well, I wouldn't rather go for turning off strict. I'm too much used to be
strict with my programs. :)

I think you could do something like
@arrays=('test1','test2','test3');

foreach my $array(@arrays) {
@{$array}=();
}

Well, that's an interesting example. Thank you for this suggestion. Anyone
else?

Regards,
DJ Gruby.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to