Changeset 8757122


Ignore:
Timestamp:
May 30, 2007, 10:30:09 PM (17 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
42947f1
Parents:
4508e21
git-author:
Nelson Elhage <nelhage@mit.edu> (05/30/07 22:29:41)
git-committer:
Nelson Elhage <nelhage@mit.edu> (05/30/07 22:30:09)
Message:
We don't need to squash warnings here, we should just use "" as a
default, since the undef's will get stringified anyways.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlwrap.pm

    r5ddb952 r8757122  
    7070    my $args = shift || {};
    7171    my %args = (
    72         summary     => undef,
    73         usage       => undef,
    74         description => undef,
     72        summary     => "",
     73        usage       => "",
     74        description => "",
    7575        %{$args}
    7676    );
    7777
    78     no warnings 'uninitialized';
    7978    BarnOwl::new_command_internal($name, $func, $args{summary}, $args{usage}, $args{description});
    8079}
Note: See TracChangeset for help on using the changeset viewer.