The main difference between use and require is that use works on compile time while require works in run time.
require works just like #include in C. A piece of code is loaded into your program replacing the require/#include statement.
use however attempts to load a package at compile time. So...
You don't seem to be very familiar with perl.
However I'll try to give you an explanation.
A Perl Object is really just a hash (%) variable residing in a special namespace.
The "return bless $object;" does the namespace association, and the lines above
my $object = {};
$object ->...
I'm not sure about it, but maybe your problem is the different values you are assigning to "Information" when you're setting and deleting the cookie.
Another problem could be, that you're deleting and setting the cookie in one go, and that causes some confusion.
Good Luck
Søren
According to "A Fresh Look at Efficient Perl Sorting" (http://conferences.oreilly.com/cd/perl3/user_papers/uguttman/sorting.html)
the perl sort function is implemented with a standard QuickSort algorithm.
Søren
Server Message: Number 197, Severity 15
Set operators may not appear within the definition of a view.
union based sets are not allowed in sybase 11.5 according to the above error msg. I don't know anything about higher version numbers.
Databases DB2 with a stronger sql syntax permits this...
If your key is an identity - that is, an autonumber, autoincrement ...
you do your insert, and afterwards you want to know which key was generated for this newly inserted row.
"select @@identity" will return this key.
When you're working on a databaseconnection in a multiuser...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.