This is perl 5, version 22, subversion 1 (v5.22.1) built for MSWin32-x86-multi-t
hread-64int
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2015, Larry Wall
Binary build 2201 [299574] provided by ActiveState http://www.ActiveState.com
Built Dec 24 2015 12:36:28
####
This is perl 5, version 22, subversion 1 (v5.22.1) built for MSWin32-x64-multi-t
hread
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2015, Larry Wall
Binary build 2201 [299574] provided by ActiveState http://www.ActiveState.com
Built Jan 4 2016 12:12:58
...
This is perl 5, version 24, subversion 0 (v5.24.0) built for MSWin32-x64-multi-t
hread
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2016, Larry Wall
Binary build 2400 [300558] provided by ActiveState http://www.ActiveState.com
Built Jun 9 2016 21:44:59
##
##
#! /usr/bin/perl
use strict;
use warnings;
use LWP::Simple;
open my $inf, "<", "temp.txt" or die; #This line no longer generates a warning.
while (<$inf>) {
#while () {
my $html = getprint("https://clio.columbia.edu/catalog?q=How%20to%20conduct%20your%20own%20survey%20&search_field=title_starts_with&f%5B-format%5D%5B%5D=Online&commit=Search") or die;
}
exit;
__DATA__
How to conduct your own survey / Priscilla Salant and Don A. Dillman.