Hi all

Would someone be so kind to explain the following code.

my $subclasses = { 'rejects' => \&_reject_html,
                     'deferrals' => \&_deferral_html,
                     'errors' => \&_error_html,
                     'deliveries' => \&_delivery_html,
                     'unknown' => \&_unknown_html,
                     'queue' => \&_queue_html };

The following code comes from the Tom Kistner's exilog (http://duncanthrax.net/exilog/).

Would someone please share some info on why \& and not just &?
When do you use this?

Thanks in advance.

Brent Clark

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


Reply via email to