Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What would be the result of this statement in Perl
PERL
echo "a > b"
Posted
Comments
[no name] 9-Jun-15 16:37pm    
Run it yourself and find out.
Bassoo7 9-Jun-15 16:53pm    
it gives this compilation error :
String found where operator expected at *.pl line 5,
(Do you need to predeclare echo?)
syntax error at *.pl line 5, near "echo "a > b
Execution of *.pl aborted due to compilation errors.
[no name] 9-Jun-15 17:00pm    
There, you found the answer to your own question.
Bassoo7 9-Jun-15 17:20pm    
It's not an option, i am confused myself, but the question i got had four options : 1- Puts '"a' in the file 'b'".
2- Shows 'a > b'.
3- Shows "'a > b'".
4- Puts 'a in the file b'
[no name] 9-Jun-15 18:24pm    
Well then I would suggest to you to find out how to write that code so that it does compile (do some research) and then you will be able to answer this question of yours.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900