apraxas has asked for the wisdom of the Perl Monks concerning the following question:
at the moment i am getting only a True or false back, but i would like to have the $search filled with the complete line .$cmdout = "Hello i like Perlmonks.org "; $search = $cmdout,/Perlmonks.org/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Returning Line where Characters Have been found
by toolic (Bishop) on Dec 13, 2011 at 14:12 UTC | |
| |
|
Re: Returning Line where Characters Have been found
by pvaldes (Chaplain) on Dec 13, 2011 at 16:03 UTC | |
|
Re: Returning Line where Characters Have been found
by TJPride (Pilgrim) on Dec 13, 2011 at 14:25 UTC | |
by apraxas (Initiate) on Dec 13, 2011 at 15:00 UTC | |
by cavac (Prior) on Dec 13, 2011 at 15:42 UTC | |
by TJPride (Pilgrim) on Dec 13, 2011 at 19:29 UTC |