perlgurl1020 has asked for the wisdom of the Perl Monks concerning the following question:
Thank you!#!/usr/bin/perl package WebUtil sub http_header { CGI::header(); } sub html_header { return "<!DOCTYPE html>; } sub start_app { $WebUtil::dbh my($db) = @_; $dbh = DBI->connect("dbi:mysql:cmd",$userid,$password); return $dbh; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Creating a webutil mod/package
by Anonymous Monk on Aug 14, 2015 at 03:13 UTC | |
by perlgurl1020 (Initiate) on Sep 07, 2015 at 23:35 UTC |