Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Minor nitpicking' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Minor nitpicking
Authored by: Carthag on Aug 04, '02 11:10:39AM
Perl does variable interpolation on double-quoted strings, so you don't have to put the $keyword outside and concatenate it with .s...
$url = "http://www.macosxhints.com/search.php?query=$keyword&
   mode=search&datestart=0&dateend=0&topic=0&type=stories&author=0";
will work as well... Just wondering why it's used in two of the places but not in the others. :)

[ Reply to This | # ]