Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How to pass my variables into html part using perl cgi?

by Corion (Patriarch)
on May 09, 2017 at 09:04 UTC ( [id://1189862]=note: print w/replies, xml ) Need Help??


in reply to How to pass my variables into html part using perl cgi?

You are using the variable $str before assigning a value to it.

Perl will warn you about this if you allow it to. See warnings on how to enable that.

Perl can also enforce that you need to declare your variables before using them. See strict on how to enable that.

Both practices help Perl help you better by pointing out very likely errors.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-18 03:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found