#!/usr/bin/perl use strict; use warnings; my $var='Hallo'; my $input=; chomp($input); $var.=" $input"; print "$var\n";