Re: AW: AW: "my int( 1..31 ) $var" ?

2003-01-04 Thread John Williams
On Sun, 5 Jan 2003, Murat Ünalan wrote: > > Properties *can* be smart-matched: > > > > print "creditcard" if $var.prop().{CreditCard} ~~ 'VISA'; > > or: > > print "creditcard" if $var.prop{CreditCard} ~~ 'VISA'; > > or: > > print "creditcard" if $var.CreditCard ~~ 'VISA'; > > > I think

AW: AW: "my int( 1..31 ) $var" ?

2003-01-04 Thread Murat Ünalan
> Properties *can* be smart-matched: > > print "creditcard" if $var.prop().{CreditCard} ~~ 'VISA'; > or: > print "creditcard" if $var.prop{CreditCard} ~~ 'VISA'; > or: > print "creditcard" if $var.CreditCard ~~ 'VISA'; > > Damian > I think this is similar to "John Williams" su