Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: CGI::Appl can't find sub

by Anonymous Monk
on Jun 14, 2014 at 09:31 UTC ( [id://1089881]=note: print w/replies, xml ) Need Help??


in reply to Re^3: CGI::Appl can't find sub
in thread CGI::Appl can't find sub

Okay, then please explain the output from the "perl -MO=Terse AA.pm", which is ...

Ask yourself , why am I using barewords?

If they're not function/package names, or hash keys, then they shouldn't be barewords

If your barewords are strings, you should quote your strings

perlintro, Basic debugging checklist and brian's Guide to Solving Any Perl Problem

If this code you posted in Re: CGI::Appl can't find sub is any indication it means perintro was skipped

$ perl -c aa.pm syntax error at aa.pm line 4, near "use strict use warning " syntax error at aa.pm line 8, near "}" aa.pm had compilation errors.

Tracking down syntax errors is very easy, its

perl -c everyfile.pl perl -c lib/Everyfile.pm ...

When you're developing , skip B::Terse, don't forget to test every single subroutine in you write in your test suite, so even if eval is hiding any die-ing you'll notice when you typo

Hi :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1089881]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-05-29 18:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found