in reply to Re: Re: Re: Re: where do you put your subs
in thread where do you put your subs
Is this a scalar or a call to a class method with no paramaters? Let's sift through the code to find out, oh joy!my $paco = $foo->bar;
Ah, we're creating a lexically scoped scalar called $pacomy $paco =
It has something to do with another scalar, called $foo$foo
The arrow indicates we're either going to dereference, or have method call.->
No [] or {}, so it's a method call. Neato, we're using objects!bar
44696420796F7520732F2F2F65206F
7220756E7061636B3F202F6D736720
6D6521203A29202D2D204A75657264
|
---|