How can I fill the values of this structure then?...Can't use string ("foo@bar.com") as a HASH ref while "strict refs" in +use at ./test.pl line 14.
Until I came across a duplicated $subject, this script was working perfectly. (I guess I was getting lucky.) I need to dynamically fill the subject and cache_names to becomes slices of the email address. I'm confused on how to change my structure to one that will be functional.# Data Structure. #$spam_hash = { # 'email@address.com' => # { # 'Subject1' => { # cache_name1 => { # path => 'path', # from => 'from' # }, # cache_name2 => { # path => 'path', # from => 'from' # } # }, # 'Subject2' => { # cache_name1 => { # path => 'path', # from => 'from' # }, # cache_name2 => { # path => 'path', # from => 'from' # } # } #};
In reply to Re: Re: Why is part of slice duplicated?
by the_0ne
in thread Why is part of slice duplicated?
by the_0ne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |