On Thu, Jun 07, 2001 at 06:37:26AM +1000, Damian Conway wrote: > > > So, to match $foo's colour against $bar, I'd say > > > > $bar =~ /$foo.colour/; > > No, you need the sub call parens as well: > > $bar =~ /$foo.colour()/; Hm, I thought Larry said you would need to use $() to interpolate a method call. So this would be $bar =~ /$($foo.colour)/; Graham.
- Coupla Questions Simon Cozens
- Re: Coupla Questions Simon Cozens
- Re: Coupla Questions Damian Conway
- Re: Coupla Questions Simon Cozens
- Re: Coupla Questions Damian Conway
- Re: Coupla Questions Graham Barr
- Re: Coupla Questions Damian Conway
- Re: Coupla Questions Graham Barr
- Re: Coupla Questions Damian Conway
- Re: Coupla Questions Graham Barr
- Re: Coupla Questions Damian Conway
- Re: Coupla Questions Simon Cozens
- Re: Coupla Questions Larry Wall
- Re: Coupla Questions Graham Barr
- Re: Coupla Questions Simon Cozens
- Re: Coupla Questions Brent Dax