Welcome to the Monastery | |
PerlMonks |
Syntax question when using Class::DBIby freddo411 (Chaplain) |
on Dec 09, 2004 at 00:51 UTC ( [id://413389]=perlquestion: print w/replies, xml ) | Need Help?? |
freddo411 has asked for the wisdom of the Perl Monks concerning the following question:
Monks,
I'm stuck on a syntax problem. I'm using Class::DBI which lets me get at values of fields within a DB by treating each row as an object. So normally I'd refer to my "id" as: OK so far, but now I need to be more dynamic, like so: but this gives me an syntax error when I perl -c my code. How do I use a variable value in this case? -------------------------------------
Back to
Seekers of Perl Wisdom
|
|