Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Dial-In (RAS) Settings and Boolean Values

by jkahn (Friar)
on May 06, 2003 at 18:16 UTC ( #255975=note: print w/replies, xml ) Need Help??

in reply to Dial-In (RAS) Settings and Boolean Values

You said:
my $status = 'TRUE';
$oContainer->{msNPAllowDialin} = $status;
I suggest instead:
my $status = undef;
$oContainer->{msNPAllowDialin} = $status;
Read the perldoc on the undef function: undef

Replies are listed 'Best First'.
Re: Re: Dial-In (RAS) Settings and Boolean Values
by jds (Acolyte) on May 06, 2003 at 19:45 UTC
    The comment was to try:
    my $status = undef;
    I tried this, as well as:
    undef $status;
    $oContainer->{msNPAllowDialin} = undef;
    None of these things change the current setting no matter what the current setting is. I can't seem to make the msNPAllowDialin function accept a value of undef in any of it's forms.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://255975]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2016-10-26 14:47 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (341 votes). Check out past polls.