in reply to Reference to a function
In general, when learning Perl, you can safely ignore any literature that spends a lot of time discussing C or C++ and comparing Perl to them. Perl is nothing like either of these languages. (This is a good thing.)
$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Reference to a function
by flounder99 (Friar) on Jul 24, 2003 at 15:04 UTC | |
by jonadab (Parson) on Jul 29, 2003 at 15:36 UTC |