| 1 | #!/usr/bin/perl | ||
| 2 | |||
| 3 | package X11::Protocol::Connection; | ||
| 4 | |||
| 5 | # Copyright (C) 1997 Stephen McCamant. All rights reserved. This program | ||
| 6 | # is free software; you can redistribute and/or modify it under the same | ||
| 7 | # terms as Perl itself. | ||
| 8 | |||
| 9 | 1 | ▶ | use Carp; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use vars '$VERSION'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | 1 | $VERSION = 0.01; | |
| 14 | |||
| 15 | 0 | ▶ | sub give { |
|
Subroutine
give: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 16 | 0 | croak "X11 connection object doesn't support output"; | |
| 17 | } | ||
| 18 | |||
| 19 | 0 | ▶ | sub get { |
|
Subroutine
get: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 20 | 0 | croak "X11 connection object doesn't support input"; | |
| 21 | } | ||
| 22 | |||
| 23 | 0 | ▶ | sub fh { |
|
Subroutine
fh: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 24 | 0 | croak "X11 connection object is incompatible with perl filehandles"; | |
| 25 | } | ||
| 26 | |||
| 27 | 0 | ▶ | sub open { |
|
Subroutine
open: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 28 | 0 | croak "X11 connection object can't open itself"; | |
| 29 | } | ||
| 30 | |||
| 31 | 1 | 1; | |
| 32 | __END__ | ||