MIME::Base64 ã使ç¨ã perl v5.12.1 use MIME::Base64; my $image_base64 = '<base64ã¨ã³ã³ã¼ãããç»å'>; # base64å½¢å¼ãããã³ã¼ã my $image_bin = decode_base64($image_base64); # ãã¡ã¤ã«ãéã open $fh, '+>', '/path/to/file' or die "Cannot open : $!"; # ãã¡ã¤ã«ããã¤ããªã¢ã¼ãã« binmode $fh; # æ¸ã込㿠print $fh $image_bin; # ãã¡ã¤ã«ãéãã close $fh;
{{#tags}}- {{label}}
{{/tags}}