Chas. Owens wrote: > On Sun, Nov 16, 2008 at 09:11, a b <[EMAIL PROTECTED]> wrote: >> Hi , >> Can any body tells me what do we mean by below code >> <snip> >> $ROUTE::COMM{NEWROUTE}{OS()} >> </snip> >> >> Thanks in Advance >> a b . >> > > No, there is not enough context for me to know why this code is being > used and off hand it looks like useless code to me (it is asking for a > value and not doing anything with it), but I can tell you a few things > that may be true about it: > > There is a subroutine named OS defined somewhere. > There is a module named ROUTE. > That module has a hash named COMM. > That hash (possibly) has a key named NEWROUTE whose value is expected > to be a hashref.
It is my guess that OS is probably not an explicit subroutine, but rather something of the form use constant OS => 'Platform'; Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/