starface245 has asked for the wisdom of the Perl Monks concerning the following question:
Basically the code does not work right now because of the underscore. I need to have the underscore there. The display I want is Hello John_Stane#!/usr/local/bin/perl use strict; use warnings; my ($userinput1, $userinputer2); $userinput1 = <STDIN>; #first name $userinput2 = <STDIN>; #last name print "Hello $userinput1_$userinput2";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Multiple Input help
by kennethk (Abbot) on Feb 04, 2011 at 20:15 UTC | |
by toolic (Bishop) on Feb 04, 2011 at 20:25 UTC | |
|
Re: Multiple Input help
by toolic (Bishop) on Feb 04, 2011 at 20:19 UTC | |
|
Re: Multiple Input help
by moritz (Cardinal) on Feb 04, 2011 at 20:23 UTC | |
|
Re: Multiple Input help
by chuckbutler (Monsignor) on Feb 04, 2011 at 20:31 UTC | |
|
Re: Multiple Input help
by starface245 (Novice) on Feb 10, 2011 at 16:17 UTC | |
|
Re: Multiple Input help
by pavunkumar (Scribe) on Feb 05, 2011 at 05:51 UTC |