vinoth.ree has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use warnings; my $cure = "cure"; my @cure = ('one', 'two', 'three'); &cure(*cure); sub cure { my $new = shift; print $$new; }
Why this code does not print anything ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: typglob problem
by almut (Canon) on Mar 18, 2009 at 04:12 UTC | |
|
Re: typglob problem
by ikegami (Patriarch) on Mar 18, 2009 at 04:51 UTC | |
|
Re: typglob problem
by nagalenoj (Friar) on Mar 18, 2009 at 04:15 UTC | |
|
Re: typglob problem
by tilly (Archbishop) on Mar 18, 2009 at 04:38 UTC | |
by ikegami (Patriarch) on Mar 18, 2009 at 04:54 UTC | |
by tilly (Archbishop) on Mar 18, 2009 at 05:00 UTC | |
|
Re: typglob problem
by Anonymous Monk on Mar 18, 2009 at 04:31 UTC |