ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/urxvt.pm
(Generate patch)

Comparing rxvt-unicode/src/urxvt.pm (file contents):
Revision 1.1 by root, Mon Jan 2 15:35:43 2006 UTC vs.
Revision 1.3 by root, Mon Jan 2 15:59:25 2006 UTC

1=head1 NAME 1=head1 NAME
2 2
3urxvt - rxvt-unicode's embedded perl interpreter 3rxvtperl - rxvt-unicode's embedded perl interpreter
4 4
5=head1 SYNOPSIS 5=head1 SYNOPSIS
6 6
7Put your scripts into $LIBDIR/perl-init/, they will be loaded automatically. 7* Put your scripts into F<@@RXVT_LIBDIR@@/urxvt/perl-ext/>, they will be loaded automatically.
8 8
9Each script will only be loaded once, even in urxvtd, and will be valid 9* Each script will only be loaded once, even in urxvtd, and will be valid
10globally. 10globally.
11 11
12Scripts are evaluated in a 'use strict' and 'use utf8' environment, and 12* Scripts are evaluated in a 'use strict' and 'use utf8' environment, and
13thus must be written in utf-8. 13thus must be encoded as UTF-8.
14 14
15 sub on_sel_grab { 15 sub on_sel_grab {
16 warn "you selected ", $_[0]->selection; 16 warn "you selected ", $_[0]->selection;
17 ()
17 } 18 }
18 19
19 1 20 1
20 21
21=head1 DESCRIPTION 22=head1 DESCRIPTION
224 225
225 $pkg 226 $pkg
226 }; 227 };
227} 228}
228 229
229load_script $_ for grep -f $_, <$LIBDIR/perl-init/*>; 230load_script $_ for grep -f $_, <$LIBDIR/perl-ext/*>;
230 231
231 232
232=back 233=back
233 234
234=head2 The C<urxvt::term> Class 235=head2 The C<urxvt::term> Class

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines