Skip Menu |

This queue is for tickets about the X11-Protocol CPAN distribution.

Report information
The Basics
Id: 62652
Status: new
Priority: 0/
Queue: X11-Protocol

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: AUTOLOAD vs non-existent sync()
Date: Wed, 03 Nov 2010 11:42:03 +1100
To: bug-X11-Protocol [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
I mistakenly called ->sync() thinking it a server synchronise, like use strict; use warnings; use X11::Protocol; my $X = X11::Protocol->new; $X->sync; but there's in fact no such method. It'd be good if that was some sort of error. Perhaps the AUTOLOAD() could get/set only fields which exist, so a typo or other mistaken method name is noticed.