Re: Another REALLY basic question!




f...@xxxxxxxxxxxxxxxx wrote:
Hi All

What does -> mean in perl scripting.

the arrow operator either dereferences a reference, or is a method
invocation.

eg.

my $f_username=$query->param('req_username');
my $f_password=$query->param('req_password');

Thanks

Fred

.



Relevant Pages

  • Re: Misunderstanding of instance variables
    ... instead of @ -- I thought both would essentially reference an instance variable. ... In typical implementations of this method*, invocation causes an instance variable @content_type to be set. ... In the case of ActiveRecord, I guess that's not the case. ... Devin ...
    (comp.lang.ruby)
  • Re: Using Perl to Parse Excel File
    ... > when the script runs it is printing as ... It dereferences. ... Perl to print a reference), then $$date is the scalar it references. ...
    (comp.lang.perl.misc)