You can use HTTP::Cookies::Safari under the same terms as Perl itself.