On 4/18/07, Johnson, Reginald (GTI) <[EMAIL PROTECTED]> wrote:

                        if ($_ eq /AVI/) {
                                return = "Audit Volume";
                        }

Perl's return operator isn't a variable you assign to. Maybe you want this?

   return "Audit Volume";  # return that string at once

Check the documentation for return in the perlfunc manpage.

If you are not an intended recipient of this e-mail, please notify the sender, 
delete it
and do not read, act upon, print, disclose, copy, retain or redistribute it. 
Click here
for important additional terms relating to this e-mail.
http://www.ml.com/email_terms/

If you have an unenforceable disclaimer appended to your messages, do
not read this message, and do not act upon, rely upon, print,
disclose, copy, retain, or redistribute it. But don't notify the
sender; he's already heard all the bogus legal claims he can stand.

Cheers!

--Tom Phoenix
Stonehenge Perl Training

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


Reply via email to