Re: Multiple substitutions from a string into an array

2005-07-04 Thread Mads N. Vestergaard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, Ah thanks, that's just what I needed :) I haven't been using m and g together, that was the problem.' Thanks alot. Mads Xavier Noria wrote: | On Jul 4, 2005, at 19:25, Mads N. Vestergaard wrote: | |> My string is "footest test testbartest te

Re: Multiple substitutions from a string into an array

2005-07-04 Thread Ing. Branislav Gerzo
Mads N. Vestergaard [MNV], on Monday, July 04, 2005 at 19:25 (+0200) wrote the following: MNV> My string is "footest test testbartest test MNV> testbaztest test test". I hope this snippet will help you: use strict; use warnings; my $string = qq{footest test testbartest test test

Re: Multiple substitutions from a string into an array

2005-07-04 Thread Xavier Noria
On Jul 4, 2005, at 19:25, Mads N. Vestergaard wrote: My string is "footest test testbartest test testbaztest test test". What I would like to have is to get foo,bar,baz into an array, I've tried to substitute it, but it doesn't seem to work for me. Either I get foo correct and nothing else, o

Multiple substitutions from a string into an array

2005-07-04 Thread Mads N. Vestergaard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Everybody, I hope you can help me out a bit here. I'm having some problems with multiple substitutions from a string. My string is "footest test testbartest test testbaztest test test". What I would like to have is to get foo,bar,baz into an arr