Perl decode_base64()

Decode a base64 string by calling the decode_base64() function.

Function

decode_base64($string);

Parameters

$string - The encoded data.

Return value

Decoded data

Example

use MIME::Base64;
$encoded = 'YmFzZTY0IGVuY29kZWQgc3RyaW5n';
$decoded = decode_base64($encoded);

Github

See also: