cdherold has asked for the wisdom of the Perl Monks concerning the following question:
I got the title out ($1) but got nothing for scalars $2 and $3. I figure I'm doing something very simple wrong here, but don't know where to turn in my early days learning perl. any help is warmly welcomed.if ($article =~ /\b(.*?)\s{3,}/gsm){ $title = $1; $author = $2; $abstract = $3}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Assigning text sections to scalars
by hdp (Beadle) on Apr 25, 2001 at 11:11 UTC | |
by jeroenes (Priest) on Apr 25, 2001 at 13:55 UTC | |
by hdp (Beadle) on Apr 25, 2001 at 18:13 UTC | |
|
Re: Assigning text sections to scalars
by Rhandom (Curate) on Apr 25, 2001 at 10:13 UTC | |
|
Re: Assigning text sections to scalars
by Anonymous Monk on Apr 25, 2001 at 13:40 UTC | |
by tilly (Archbishop) on Apr 25, 2001 at 20:07 UTC |