As of this writing, any encoding whose class belongs to Encode::XS and
Encode::Unicode works. The Encode module has a C<perlio_ok> method
-which you can use before appling PerlIO encoding to the filehandle.
+which you can use before applying PerlIO encoding to the filehandle.
Here is an example:
my $use_perlio = perlio_ok($enc);
see L<Encode::Unicode>.
UTF-7 is a special encoding which "re-encodes" UTF-16BE into a 7-bit
-encoding. It is implemeneted seperately by Encode::Unicode::UTF7.
+encoding. It is implemented seperately by Encode::Unicode::UTF7.
=head2 Encode::Byte -- Extended ASCII
This is a subclass of ExtUtils::MM_Win32 containing changes necessary
to get MakeMaker playing nice with command.com and other Win9Xisms.
-=head2 Overriden methods
+=head2 Overridden methods
Most of these make up for limitations in the Win9x/nmake command shell.
Mostly its lack of &&.
XS code is very sensitive to the module version number and will
complain if the version number in your Perl module doesn't match. If
-you change your module's version # without reruning Makefile.PL the old
+you change your module's version # without rerunning Makefile.PL the old
version number will remain in the Makefile causing the XS code to be built
with the wrong number.
use Net::FTP;
- # for debuging: $ftp = Net::FTP->new('site','Debug',10);
+ # for debugging: $ftp = Net::FTP->new('site','Debug',10);
# open a connection and log in!
$ftp = Net::FTP->new('target_site.somewhere.xxx');
=head2 Got spare tuits?
The following example reports that four tests are run and the last two
-tests failed. However, becauses the failing tests are marked as things
+tests failed. However, because the failing tests are marked as things
to do later, they are considered successes. Thus, a harness should report
this entire listing as a success.
# Looks like you failed 1 tests of 8.
Whoops, a failure! [4] Test::Simple helpfully lets us know on what line
-the failure occured, but not much else. We were supposed to get 17,
+the failure occurred, but not much else. We were supposed to get 17,
but we didn't. What did we get?? Dunno. We'll have to re-run the
test in the debugger or throw in some print statements to find out.
a A string with arbitrary binary data, will be null padded.
A A text (ASCII) string, will be space padded.
- Z A null terminated (ASCIZ) string, will be null padded.
+ Z A null terminated (ASCIIZ) string, will be null padded.
b A bit string (ascending bit order inside each byte, like vec()).
B A bit string (descending bit order inside each byte).
=item Handling Malformed Data
-B<NOTE:> Not all encoding suppport this feature, I<CHECK> =
+B<NOTE:> Not all encoding support this feature, I<CHECK> =
Encode::FB_DEFAULT ( == 0), I<CHECK> = Encode::FB_CROAK ( == 1), I<CHECK> =
Encode::FB_QUIET, I<CHECK> = Encode::FB_WARN, perlqq mode (I<CHECK> =
Encode::FB_PERLQQ), HTML charref mode (I<CHECK> = Encode::FB_HTMLCREF), XML
=over 4
-=item Overriden methods
+=item Overridden methods
xs_c