>>>>> "Gary" == Gary Stainburn <[EMAIL PROTECTED]> writes:
>> my @names = @ARGV ? @ARGV : grep { -f and -B } <*>; Gary> I read this to say, if filenames passed use them otherwise do the whole of Gary> the current directory. I believe that the grep takes the list provided by Gary> <*> performs the -f and -B filters on the list and assigns the result to Gary> @names. Am I correct, and what does the -f and -B do? Yes. It says "is the name both a file and a binary-content file?". >> undef @$im; Gary> This one confused me. I'm assuming that it's resetting the variables used by Gary> the object $im, while keeping the object intact. If this is correct, is this Gary> something specific to Image::Magick, or can a similar method work with most Gary> objects? No, this is specific to I::M. I wonder why it's necessary. In fact, I wonder why *most* things in the clunky interface of I::M are necessary. :) Gary> If $im->Read fails, it assigns an error value to $ret, which in turn returns Gary> true. Only if the assignment is true, will the second half of the 'and' Gary> execute giving the warning and skipping Bingo! -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]