ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Mozilla-Plugin/Plugin.pm
(Generate patch)

Comparing Mozilla-Plugin/Plugin.pm (file contents):
Revision 1.4 by root, Fri Feb 23 20:01:27 2001 UTC vs.
Revision 1.5 by root, Sat Feb 24 01:48:38 2001 UTC

178sub mainloop { 178sub mainloop {
179 server_event while 1; 179 server_event while 1;
180} 180}
181 181
182sub init { 182sub init {
183 my $self = shift;
184
183 $IN_MOZILLA = 1; 185 $IN_MOZILLA = 1;
184 186
185 open FD, "+<&=$_[1]"; binmode $FD; 187 open FD, "+<&=$_[0]"; binmode $FD;
186 188
187 warn "init: ".Dumper(@_); 189 warn "init: ".Dumper(@_);
190
188 mainloop; 191 $self->mainloop;
189} 192}
190 193
191sub new { 194sub new {
192 my $class = shift; 195 my $class = shift;
193 my $self = bless { @_ }, $class; 196 my $self = bless { @_ }, $class;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines