anesthdr has asked for the wisdom of the Perl Monks concerning the following question:
$row_arr_today = $res_sched[$row] ##@res_sched is an array o +f arrays for $person(1..$#{$row_arr_today}) { ##cycle through the array$ro +w_arr_today from element 1 $name = $row_arr_today->[$person] ##assign to $name the +$person element in that array foreach $row(0..$#namearray) { ## @namearray is another arr +ay of arrays $testname = $namearray[$row][0]; if ($testname =~ /($name)/){} ##this line returns the er +ror: ##Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- H +ERE X*/ at loadsched.pl line 66. What basic piece of info am I mis +sing? Thanks };
Edit:g0n - code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: newb question
by ysth (Canon) on Sep 04, 2007 at 04:27 UTC | |
|
Re: newb question
by f00li5h (Chaplain) on Sep 04, 2007 at 04:27 UTC | |
by anesthdr (Initiate) on Sep 04, 2007 at 04:36 UTC | |
|
Re: newb question
by GrandFather (Saint) on Sep 04, 2007 at 04:18 UTC |