> This works - i've tried it...
>
> print 'Deleted ' , unlink (<*997*>) , ' files.\n';
>
> good luck
> Duncan

Yes, it does.  But it does not work when reading from a variable.

my $temp = '*997*';
print 'Deleted ' , unlink (<$temp>) , ' files.\n';

This very simple variation of your example does not work.

The problem is that I have to read from a file and put the value from the
file into a variable.  Although your "hard coded" example does work, it
doesn't work for a value read in from an external file and into a
variable.  Any other ideas?  I am all ears and out of ideas.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to