Help language development. Donate to The Perl Foundation

P5ord cpan:ELIZABETH last updated on 2018-05-06

P5ord-0.0.5/

Build Status

NAME

P5ord - Implement Perl 5's ord() built-in [DEPRECATED]

SYNOPSIS

use P5ord; # exports ord()

my $a = "A";
say ord $a;

$_ = "A";
say ord();      # bare ord may be compilation error to prevent P5isms in Perl 6

DESCRIPTION

This module tries to mimic the behaviour of the ord of Perl 5 as closely as possible. It has been deprecated in favour of the P5chr module, which exports both ord and chr. Please use that module instead of this one.

AUTHOR

Elizabeth Mattijsen liz@wenzperl.nl

Source can be located at: https://github.com/lizmat/P5ord . Comments and Pull Requests are welcome.

COPYRIGHT AND LICENSE

Copyright 2018 Elizabeth Mattijsen

Re-imagined from Perl 5 as part of the CPAN Butterfly Plan.

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.