jesuashok has asked for the wisdom of the Perl Monks concerning the following question:
Output :-#!/usr/bin/perl use strict; print ":Hello ^M world:\n";
In the above code, I typed "Hello World" as follows :-World:
Could any one explain me the output which I got ?Hello <ctrl+v><ctrl+m>world
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: adding non printable characters in perl's print function
by ikegami (Patriarch) on Feb 21, 2007 at 06:36 UTC | |
by Anno (Deacon) on Feb 21, 2007 at 19:30 UTC | |
by ikegami (Patriarch) on Feb 21, 2007 at 19:35 UTC | |
by Anno (Deacon) on Feb 21, 2007 at 19:53 UTC | |
|
Re: adding non printable characters in perl's print function
by Zaxo (Archbishop) on Feb 21, 2007 at 06:29 UTC | |
|
Re: adding non printable characters in perl's print function
by redlemon (Hermit) on Feb 21, 2007 at 10:20 UTC | |
|
Re: adding non printable characters in perl's print function
by dsheroh (Monsignor) on Feb 21, 2007 at 16:07 UTC |