Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Unidatab-CGI reloaded

by emilbarton (Scribe)
on Oct 13, 2017 at 08:07 UTC ( #1201298=CUFP: print w/replies, xml ) Need Help??

Hello, please take a look at my new perl cgi tool for Unidatab bases:

and its code:

Comments welcome! (as usual)

Replies are listed 'Best First'.
Re: Unidatab-CGI reloaded
by marto (Archbishop) on Oct 13, 2017 at 15:55 UTC

    I don't know what Unidatab is, the first page of search results all link to your site or this post, so I've only very briefly looked at this repo. I suggest you use Path::Tiny rather than File::Slurp (see rt://83126). Using CGI is something I'd advise against (with the exception of maintaining preexisting legacy systems), especially the use of HTML generation, and the way you assign colors (e.g. $Color{'LightPink'} = "#FFB6C1"; ). This could turn into a maintenance headache. FWIW something like Mojolicious::Lite makes this sort of thing a lot easier (and fun), along with the use of templates/CSS.

      Ok thanks, I'll try that for the next update. Maybe you should try Unidatab, I'm sure you'll find it's an adorable web browsing companion (as I do)!

        As I say, I have no idea what Unidatab is, and a quick search only returns links to your work with it. Perhaps your repo could include some relevant links (and a description) in the

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://1201298]
Approved by beech
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2018-06-21 03:56 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (117 votes). Check out past polls.