Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: how to make this perl code run

by Random_Walk (Parson)
on May 16, 2013 at 13:58 UTC ( #1033834=note: print w/ replies, xml ) Need Help??


in reply to how to make this perl code run

Quote your strings

my $str1 = "Hi"; my $str2 = "Hello and a newline\n";

Update

Doh, I just saw, "how do I make this code run". and thought, fix it! I did not read all the constraints.

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!


Comment on Re: how to make this perl code run
Download Code
Replies are listed 'Best First'.
Re^2: how to make this perl code run
by marto (Bishop) on May 16, 2013 at 13:59 UTC

    They said:

    'I will not put the strings in ""'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1033834]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2015-07-30 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls