heezy has asked for the wisdom of the Perl Monks concerning the following question:
Hi people,
I had a Perl script working perfectly using CGI.pm, sucking info in from a form then dynamically creating funky pages for the user.
I tried to update this by incorporating a dbm File but this renders all print statements after the dbmopen statement useless.
If I comment the dbmopen statement from my code it will ..
If I do not comment it out it will...
This I can't explain
here's the code...
#!/apps/PERL5/bin/perl use CGI qw(:standard); $cgi = new CGI; print header; print "\nOne\n"; print "Two\n"; dbmopen(%dbm_New_Eng, "/apps/servicelist/SLNamesDBMs/srv_name_new_to_r +epresents", 0644) or die "Cannot open: $1\n\n"; print "Three\n"
Any advice on this matter would be greatly appreciated
Mark
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Conflict between CGI.pm & dbm Files?
by Ovid (Cardinal) on Sep 30, 2002 at 21:55 UTC | |
by heezy (Monk) on Sep 30, 2002 at 22:26 UTC | |
by hiseldl (Priest) on Sep 30, 2002 at 23:45 UTC |