Changeset 1fd5e4c1 for perl


Ignore:
Timestamp:
May 29, 2007, 8:05:44 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
13a3c1db
Parents:
5ddb952
git-author:
Nelson Elhage <nelhage@mit.edu> (05/29/07 20:05:21)
git-committer:
Nelson Elhage <nelhage@mit.edu> (05/29/07 20:05:44)
Message:
Perl doesn't actually specify the behavior of
our $var = foo if bar;
Change this to something guaranteed to work.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm

    r693c8f2 r1fd5e4c1  
    5656################################################################################
    5757
    58 our $conn = BarnOwl::Module::Jabber::ConnectionManager->new unless $conn;;
     58our $conn;
     59$conn ||= BarnOwl::Module::Jabber::ConnectionManager->new;
    5960our %vars;
    6061
Note: See TracChangeset for help on using the changeset viewer.