Changeset 474

Show
Ignore:
Timestamp:
04/01/09 17:52:44 (12 months ago)
Author:
eevee
Message:

Fixed a handful of warnings.

Location:
veekun/trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • veekun/trunk/lib/Vee/Controller/Dex.pm

    r468 r474  
    11511151 
    11521152    $c->res->content_type('application/x-suggestions+json; charset=utf-8'); 
    1153     $c->res->body( objToJson($obj) ); 
     1153    $c->res->body( to_json($obj) ); 
    11541154} 
    11551155 
  • veekun/trunk/lib/Vee/Controller/Root.pm

    r464 r474  
    169169 
    170170            # ...and sort by time taken 
    171             my @queries = sort { $b->{time} <=> $a->{time} } values %queries; 
    172             return \@queries; 
     171            my @sorted_queries = sort { $b->{time} <=> $a->{time} } values %queries; 
     172            return \@sorted_queries; 
    173173        } 
    174174    } 
  • veekun/trunk/lib/Vee/Utils.pm

    r463 r474  
    9595# should begin with a letter, but given that 'xalpha' includes dot this was 
    9696# a bit clumsy to pull off in practice, so I left it lazy. 
    97 my $url_xalphas = qr/[-$_@.&+!*"'(),a-zA-Z0-9]/; 
     97my $url_xalphas = qr/[-_@.&+!*"'(),a-zA-Z0-9\$]/; 
    9898our $IsValidURL = qr/ ^ 
    9999    (?: http | https | ftp ) :\/\/          # protocol 
  • veekun/trunk/vee.yml

    r473 r474  
    55authentication: 
    66    dbic: 
    7         user_class: DBIC::User 
     7        user_class: DBIC::Users 
    88        user_field: name 
    99        password_field: password