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

Re: Need help with http 1.1 headers

by Athanasius (Bishop)
on Mar 07, 2013 at 03:30 UTC ( #1022141=note: print w/replies, xml ) Need Help??


in reply to Need help with http 1.1 headers

A side note: The script doesn’t use strict. When I added this, it uncovered two errors in sub error1:

  1. The variable $sitename is not defined.

  2. In the line:

    print MAIL "To: info@email.com\n";

    the @ symbol is not escaped, meaning the (non-existent) array @email will be interpolated, producing: To: info.com.

Moral: Always use strict !

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2019-11-14 21:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (80 votes). Check out past polls.

    Notices?