in reply to Variables and Perms Add

| is the bitwise or operator, and as you know from perlop, it works on numbers and strings, but what is "FULL".

my $var1 = 'FULL'; # string 'FULL'

my $var1 = FULL; # i'm guessing a CONSTANT, which has a numberic value

____________________________________________________
** The Third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re: Re: Variables and Perms Add
by blackadder (Hermit) on Sep 12, 2002 at 14:40 UTC
    It works without the quotes.
    You are correct I should have remembered this from my elementary Perl readings, but sometime my mind does draw a blank.

    THANKS...