Subject: | Can't use dataFile option |
Using the example on the cpan page I get
Can't use string ("dataFile") as a HASH ref while "strict refs" in use
at /usr/lib/perl5/site_perl/5.8.8/Class/Accessor.pm line 122.
Here is the code to produce the error
#!/usr/bin/perl
use Domain::PublicSuffix;
my $pubSuf = new Domain::PublicSuffix ( dataFile =>
'/tmp/effective_tld_names.dat' );
and the file does exist
[getnotifyd@dev01 ~]$ ls -l /tmp/effective_tld_names.dat
-rw-r--r-- 1 getnotifyd getnotifyd 56750 Aug 31 19:15
/tmp/effective_tld_names.dat