in reply to Re (tilly) 5: I need a simple explantion of the difference between my() and local() (discussion)
in thread I need a simple explantion of the difference between my() and local()
So, week 1 of my class looked like this:
Maybe you can see why it took me a while to get where I am now.
And consider this: how could I explain the dangerous difference between my $var and my ($var) until they knew about scalar context vs. list context? And how could I explain context until they knew about scalars and lists? Furthermore, how could I explain the scoping rules until they knew about blocks and loops and subroutines?
buckaduck
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 7: I need a simple explantion of the difference between my() and local() (discussion)
by tilly (Archbishop) on May 04, 2001 at 21:27 UTC |