!!! Is it possible to have reference on the left side of the equation !!!
I've tried this to alias HASH :") but didn't succeeded...
sub {
my \$hash = shift; # $_[0] is \%myhash
};
Yes I know that there is aliasing : my *hash = \%{$hashref}..
And I see that here u use : \$r->blah
...Never mind it is cute construct anyway. Do U have any benefit in speed
using it in this way ?!
PS. didn't u think that there must finaly "alias" keyword in perl
=====
iVAN
[EMAIL PROTECTED]
=====
> <Files ~ (hello\.bench)>
> <Perl>
> # ModPerl Handler
> package Apache::bench;
> sub handler {
> my(\$r) = shift;
> \$r->content_type('text/html');
> \$r->send_http_header();
> \$r->print('Hello ');
> \$r->print('World');
> 200;
> }
> 1;
> </Perl>
> SetHandler perl-script
> PerlHandler Apache::bench
> </Files>