ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/perl/selection-popup
(Generate patch)

Comparing rxvt-unicode/src/perl/selection-popup (file contents):
Revision 1.23 by root, Tue Jan 4 21:35:35 2011 UTC vs.
Revision 1.24 by root, Sat Dec 17 22:47:16 2011 UTC

61 61
62 /./ 62 /./
63 and $add_button->("rot13" => sub { y/A-Za-z/N-ZA-Mn-za-m/ }); 63 and $add_button->("rot13" => sub { y/A-Za-z/N-ZA-Mn-za-m/ });
64 64
65 /./ 65 /./
66 and $add_button->("eval perl expression" => sub { no warnings; $_ = eval $_ }); 66 and $add_button->("eval perl expression" => sub { my $self = $self; no warnings; $_ = eval $_; $_ = "$@" if $@ });
67 67
68 /./ 68 /./
69 and $add_button->((sprintf "to unicode hex index (%x)", ord) => sub { $_ = sprintf "%x", ord }); 69 and $add_button->((sprintf "to unicode hex index (%x)", ord) => sub { $_ = sprintf "%x", ord });
70 70
71 /(\S+):(\d+):?/ 71 /(\S+):(\d+):?/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines