Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
open(DB, "</location/db.csv") || Error ('open','file'); while ($line = <DB>) { @split_sp_data = split(/,/, $line); if ($from =~ /@split_sp_data[1]/) { print qq (<a href="$split_sp_dat +a[0]">$split_sp_data[0]</a>); } } close(DB);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Matching multiple variables against array
by ikegami (Patriarch) on Feb 28, 2006 at 17:52 UTC | |
|
Re: Matching multiple variables against array
by Anonymous Monk on Mar 01, 2006 at 00:16 UTC | |
by Anonymous Monk on Mar 01, 2006 at 17:12 UTC | |
by parv (Parson) on Mar 02, 2006 at 03:42 UTC | |
by Anonymous Monk on Mar 02, 2006 at 09:22 UTC |