I've got an external file named bieb.pm
in this file there is an sub named ShowBug
I've got also a normal script in which I call on the procedure:
#!/usr/local/bin/perl
use CGI;
$q=new CGI;
print "Content-type: text/html\n\n";
require bieb;
When I call ShowBug with this line:
&Showbug;
it works perfectly, however when I want to call ShowBug like this:
tie %h, "DB_File", "fruit", O_RDWR|O_CREAT, 0666, $DB_HASH || &ShowBug;
it isn't working... What am I doing wrong here ??
in this file there is an sub named ShowBug
I've got also a normal script in which I call on the procedure:
#!/usr/local/bin/perl
use CGI;
$q=new CGI;
print "Content-type: text/html\n\n";
require bieb;
When I call ShowBug with this line:
&Showbug;
it works perfectly, however when I want to call ShowBug like this:
tie %h, "DB_File", "fruit", O_RDWR|O_CREAT, 0666, $DB_HASH || &ShowBug;
it isn't working... What am I doing wrong here ??