I'm a MS and Java developer, trying to debug some perl code.

I'm generally confused over a few syntax issues....

In the line:

    my $self = {
        LOCATION => {
            USERNAME => $options{user_field} || 'username',
            BILLING => $options{bill_field} || 'accounts',
            INACTIVE => $options{inactive_field} || 'inactive',
        },

All fields are strings.  I imagine "=>" is simply "equal or greater to", but
I'm confused as to what this returns with strings...?

I'm also seeing code like:

  if ($self->{PRESENT}->{$self->{LOCATION}{INACTIVE}} &&
         $user_data->{$self->{LOCATION}{INACTIVE}}
  ){
  .deletia.
  }

Again, what is the significance of "->" in this comparator?  Again, all
fields are strings.

Thanks,

_Am



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to