But isnt it rerquired that contructor has the same name like class ?
A constructor can have any name; there are no requirements for constructor names.
DBI->connect() establishes a connection with database.
It does, and it returns an object which represents that connection. You can call methods on that object, including the prepare() method.
In reply to Re^3: dbi question
by chromatic
in thread dbi question
by manishrathi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |