1.

The generic handle whose meaning depends on context is ______________(a) $dbh(b) $sth(c) $fh(d) $hI got this question in class test.I'm obligated to ask this question of Perl DBI Overview topic in portion MySQL Programs Using Perl DBI and PHP of MySQL

Answer»

The correct option is (d) $h

Easy explanation: The variable named ‘$fh’ is a handle to an OPEN FILE. ‘$h’ is a GENERIC handle and the MEANING depends on context. ‘$dbh’ is a handle to a database object. ‘$sth’ is a handle to a QUERY object.



Discussion

No Comment Found

Related InterviewSolutions