Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^2: Or Operator

by rjahrman (Scribe)
on Jul 30, 2004 at 23:47 UTC ( #378838=note: print w/replies, xml ) Need Help??

in reply to Re: Or Operator
in thread Or Operator

I have another similar line:
$ftp = Net::FTP->new("ftp.$dom", Debug => 0) or $loginerror = "Error message.";

Should this work like I think it does?

Replies are listed 'Best First'.
Re^3: Or Operator
by ysth (Canon) on Jul 31, 2004 at 00:39 UTC
    If you think it will set $ftp to the result of the new method call, and if that was false set $longin error, it will.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://378838]
[marto]: yeah, this is at work, where some intranet app launches links via When users close the intranet page so that only the new JS opened windows exist, clicking URLs in an email (or whatever) don't open
[Corion]: marto: It somewhat makes sense that the reduced popup window doesn't get new URLs, but it makes less sense that no new browser window opens :)
[marto]: Corion, yeah, why no new browser window opens is currently beyond my understanding
[marto]: thanks

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2018-03-21 11:49 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (267 votes). Check out past polls.