On Mon, Jul 07, 2003 at 01:00:22PM +0100, Rob Dixon wrote:
> Steve Grazzini wrote:
> > On Sun, Jul 06, 2003 at 11:20:03AM -, mark sony wrote:
> > > $_ = "The brown fox jumps over the lazy dog";
> > > /the (\S+)(?{ $color = $^N }) (\S+)(?{ $animal = $^N })/i;
> >
> > $^N is new in 5.8.0.
> >
Steve Grazzini wrote:
> On Sun, Jul 06, 2003 at 11:20:03AM -, mark sony wrote:
> > $_ = "The brown fox jumps over the lazy dog";
> > /the (\S+)(?{ $color = $^N }) (\S+)(?{ $animal = $^N })/i;
> > print "color = $color, animal = $animal\n";
> >
> > When I run the program it gives :color = ,
On Sun, Jul 06, 2003 at 11:20:03AM -, mark sony wrote:
> $_ = "The brown fox jumps over the lazy dog";
> /the (\S+)(?{ $color = $^N }) (\S+)(?{ $animal = $^N })/i;
> print "color = $color, animal = $animal\n";
>
> When I run the program it gives :color = , animal =
>
> I took it from thi
On Sunday, Jul 6, 2003, at 04:20 US/Pacific, mark sony wrote:
Hi All,
Can anyone plz explain to me why this one is not working :
$_ = "The brown fox jumps over the lazy dog";
/the (\S+)(?{ $color = $^N }) (\S+)(?{ $animal = $^N })/i;
print "color = $color, animal = $animal\n";
When I run the
Mark,
I get this...
color = brown, animal = fox
--- mark sony <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Can anyone plz explain to me why this one is not working :
>
> $_ = "The brown fox jumps over the lazy dog";
>/the (\S+)(?{ $color = $^N }) (\S+)(?{ $animal = $^N })/i;
>print "col
Hi All,
Can anyone plz explain to me why this one is not working :
$_ = "The brown fox jumps over the lazy dog";
/the (\S+)(?{ $color = $^N }) (\S+)(?{ $animal = $^N })/i;
print "color = $color, animal = $animal\n";
When I run the program it gives :color = , animal =
I took it from this link