Badger::Codec::URI(3pm) | User Contributed Perl Documentation | Badger::Codec::URI(3pm) |
Badger::Codec::URI - URI encode/decode
use Badger::Codec::URI; my $codec = Badger::Codec::URI->new(); my $encoded = $codec->encode("Hello World!"); my $decoded = $codec->decode($encoded);
This module implements a subclass of Badger::Codec for URI encoding and decoding.
This function URI-encodes the $data passed as an argument.
This function URI-decodes the $data passed as an argument.
This method URI-encodes the data referenced by the first argument. It delegates to the encode_uri() function.
$encoded = Badger::Codec::URI->encode($data);
This method decodes the encoded data passed as the first argument. It delegates to the decode_uri() function.
$decoded = Badger::Codec::URI->decode($encoded);
This method returns a reference to the encode_uri() function.
This method returns a reference to the decode_uri() function.
Andy Wardley <http://wardley.org/>
Copyright (C) 2008-2009 Andy Wardley. All rights reserved.
Badger::Codecs, Badger::Codec
2023-08-28 | perl v5.36.0 |