Hello world\n ;-)

Im wondering about my perl. With this code:
#!/usr/local/bin/perl


use DBI;
use strict;

print "Test\n";


::$my_user = "blabla";
my $password = "bloobbloob";

my $logon = Adabas::logon("demo,adabas","mycomp:mydb");

I got somethink like that:
Global symbol "$chris_test_var" requires explicit package name at 
./komm-test2.pl line 9.
Execution of ./komm-test2.pl aborted due to compilation errors.

Is it not longer possible to set variables easly as globals? First I tryed 
this with $my_user or $test_var... without "::", and the result was the same.
Is this something special with DBI?

Gruss Christian

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to