Changeset 00f9a7d for perlwrap.pm


Ignore:
Timestamp:
Jan 8, 2007, 6:50:12 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:
f265f94
Parents:
15bd5ef
git-author:
Nelson Elhage <nelhage@mit.edu> (01/08/07 18:50:09)
git-committer:
Nelson Elhage <nelhage@mit.edu> (01/08/07 18:50:12)
Message:
Bring back the -c option, and no longer choke if .owlconf doesn't
return true.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlwrap.pm

    r25729b2 r00f9a7d  
    1818
    1919
    20 our $configfile = $::ENV{'HOME'}."/.owlconf";
     20our $configfile;
     21
     22$configfile ||= $::ENV{'HOME'}."/.owlconf";
    2123
    2224# populate global variable space for legacy owlconf files
     
    455457# load the config  file
    456458if (-r $owl::configfile) {
    457 do $owl::configfile or die $@;
     459    undef $!;
     460    undef $@;
     461    do $owl::configfile;
     462    die $@ if $@;
     463    die $! if $!;
    458464}
    459465
Note: See TracChangeset for help on using the changeset viewer.