If you are asked “Are you sure you want to continue connecting (yes/no)?” when trying to connect via SSH, then the remote host’s identification key has not yet been stored in your ~/.ssh/known_hosts file. This then requires you to type the full string “yes” in order to proceed because the default value for ssh is […]
I found myself needing a specific doctype the other day and this is what I found… First, get the correct doctype string from the W3C website list. Then, simply use -dtd to specify it to CGI.pm during the call to start_html:
1
2
3
-dtd=>'-//W3C//DTD HTML 4.01 Transitional//EN'
-OR-
-dtd=>['-//W3C//DTD HTML 4.01//EN','http://www.w3.org/TR/html4/strict.dtd']
In addition, use -encoding to specify the character set for XHTML. It defaults […]
The following syntax FAILS: [code] use strict; my %hash; use Tie::IxHash; tie %hash, Tie::IxHash; [/code] The SOLUTION is to wrap the Tie::IxHash declaration in single quotes. Parentheses added for better syntax: [code] tie (%hash, ‘Tie::IxHash’); [/code]