Thanks everyone for the help.

Once I understood what => and -> were doing, it all made perfect sense...

I actually wasn't debugging, but enhancing a perl  based open source app for
our specific needs.

Thanks,

_Am

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 03, 2002 9:27 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: general confusion...
>
>
> I am a beginner, so list members -- correct me if I'm wrong here, but I
> think that the mathematical symbols (<>=) will only work with variables
> containing numbers.  For strings, you have to use gt, lt, le, eq.  Hope
> this is helpful.
>
>
>
> Shawn
>
>
>
>
>
>
>                     ametcalfe@bui
>
>                     ldview.com           To:
> [EMAIL PROTECTED]
>                                          cc:
>
>                     09/02/2002           bcc:
>
>                     02:28 PM             Subject:     general
> confusion...
>
>
>
>
>
>
>
>
>
> 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]
>
>
>
>
>
>
> **********************************************************************
> This e-mail and any files transmitted with it may contain
> confidential information and is intended solely for use by
> the individual to whom it is addressed.  If you received
> this e-mail in error, please notify the sender, do not
> disclose its contents to others and delete it from your
> system.
>
> **********************************************************************
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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

Reply via email to