#!/usr/bin/perl use strict; use warnings; use CGI; use CGI::Cookie; my $CGI = CGI->new(); my $cont = $CGI->param("Digits"); if ($cont) { my $Rspn = CGI::Cookie->new(-name => 'Response', -value => "$cont", -expires => '+50m'); print "Set-Cookie: $Rspn\n"; print "Content-type: text/html\n\n"; # I added this because i want to see the reponse in browser to myself and twilio call log board print "We have got input: $cont"; }