in reply to Re: Why is part of slice duplicated?
in thread Why is part of slice duplicated?
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' # } # } #};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Why is part of slice duplicated?
by Abigail-II (Bishop) on May 28, 2002 at 18:01 UTC | |
by the_0ne (Pilgrim) on May 28, 2002 at 18:13 UTC | |
by Abigail-II (Bishop) on May 28, 2002 at 18:37 UTC | |
by the_0ne (Pilgrim) on May 28, 2002 at 18:59 UTC |