in reply to Syntax question when using Class::DBI
This syntax does work in 5.005_03 - but you may have to add parenthesis to make it clear that you are calling a method:
my $columnname = 'id'; print $rowobj->$columnname();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Syntax question when using Class::DBI
by Your Mother (Archbishop) on Dec 09, 2004 at 03:17 UTC | |
|
Re^2: Syntax question when using Class::DBI
by fglock (Vicar) on Dec 14, 2004 at 21:10 UTC |