Changeset fdc0c47


Ignore:
Timestamp:
Aug 5, 2009, 10:06:16 PM (15 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
2c14f40
Parents:
4656238
Message:
Complete/Zephyr.pm: Use package variables instead of lexicals.

This lets other code poke these variables if there's a need, if users
want to much with them in their own code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/Complete/Zephyr.pm

    rea7cfa8 rfdc0c47  
    66use BarnOwl::Completion::Util qw(complete_flags);
    77
    8 my %classes = ();
    9 my %realms = map {$_ => 1} qw(ATHENA.MIT.EDU ANDREW.CMU.EDU ZONE.MIT.EDU);
    10 my %users = ();
     8our %classes = ();
     9our %realms = map {$_ => 1} qw(ATHENA.MIT.EDU ANDREW.CMU.EDU ZONE.MIT.EDU);
     10our %users = ();
    1111
    1212sub complete_class    { keys %classes }
Note: See TracChangeset for help on using the changeset viewer.