Juan Alberto Cirez wrote:
> while(<FILE>) {

while does not assign to $_
try using foreach

>   if($_ =~ /tgz$/) {

$_ does not contain your line

I agree with Aaron, perl is not well suited for teaching/learning.
I suggest Ruby.

Dave


_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to