in reply to programmatic database querying

2/ You need to quote the '@'. It causes the array @university to be interpolated into your string, and I bet you don't have an @university array. Note the the whole string could be generated using interpolation (i.e. avoiding the explicit concatenation):

my $efetch = "$utils/efetch.fcgi?db=$db&WebEnv=$WebEnvID&query_key=$Qu +eryKey&retmode=xml&rettype=docsum&email=email\@university.edu";

DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^2: programmatic database querying
by runrig (Abbot) on Jul 18, 2007 at 23:58 UTC
    And if you use strict and warnings, you don't have to worry about getting bitten by that sort of accident (at least not without an explicit error or warning).