print sub code

2010-05-20 Thread Tech list
Let's say I have a module XYZ with a sub in it call ABC. I'd like to print the source code of XYZ::ABC. My reason for this is I accidentally overwrote a module with an older version, but I still have httpd running which has it loaded in memory. -- To unsubscribe, e-mail: beginners-unsubscr

Re: items in array

2008-05-14 Thread Tech list
Is $#array deprecated or not? On May 14, 2008, at 5:35 PM, Dr.Ruud wrote: "Li, Jialin" schreef: On Wed, May 14, 2008 at 4:01 PM, Tech list <[EMAIL PROTECTED]> wrote: what is the correct way to get the number of items in an array? I used to use $#array -- To unsubscribe

items in array

2008-05-14 Thread Tech list
what is the correct way to get the number of items in an array? I used to use $#array -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/