Answer the question
In order to leave comments, you need to log in
String concatenation in Perl 5?
print "1fred2" * 2."\n";
Why is it not interpreted?
Here's what's in the console:
String found where operator expected at hello.pl line 1, near "2."\n""
(Missing operator before "\n"?)
syntax error at hello.pl line 1, near "2."\n""
Execution of hello.pl aborted due to compilation errors.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question