crabbdean has asked for the wisdom of the Perl Monks concerning the following question:
I've seen in other languages (like vb I think) where subroutines are called in such a manner, whereas in perl its generally done likesub dothis ($:$$$) { ## rest of the code }
Does anyone know what this $:$$$ means in Perl?sub dothis { my ($this, $that) = @_; ## rest of the code }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Calling subroutine syntax
by dave_the_m (Monsignor) on May 01, 2004 at 14:40 UTC | |
|
Re: Calling subroutine syntax
by EdwardG (Vicar) on May 01, 2004 at 14:48 UTC | |
|
Re: Calling subroutine syntax
by zentara (Cardinal) on May 01, 2004 at 14:30 UTC | |
by japhy (Canon) on May 01, 2004 at 14:43 UTC | |
|
Re: Calling subroutine syntax
by TomDLux (Vicar) on May 01, 2004 at 19:52 UTC | |
by crabbdean (Pilgrim) on May 01, 2004 at 23:25 UTC | |
by BUU (Prior) on May 02, 2004 at 07:36 UTC | |
|
Re: Calling subroutine syntax
by crabbdean (Pilgrim) on May 01, 2004 at 15:13 UTC | |
by bart (Canon) on May 02, 2004 at 13:57 UTC |