On 29/07/2011 15:53, Emeka wrote:
Rob,
I checked perldoc , and it is pretty like reading Latin. I have been
babied by Factor and co. Perl is something else(or should I say
perldoc) , and as if that is not enough Google is not even finding it
easy to search for stuff like $\ and $/. I am not in
Rob,
I checked perldoc , and it is pretty like reading Latin. I have been babied
by Factor and co. Perl is something else(or should I say perldoc) , and as
if that is not enough Google is not even finding it easy to search for stuff
like $\ and $/. I am not infinitely lazy , and naturally I use G
Hello Emeka,
$/ is the input record separator. This variable holds a newline by
default. When you read records from a file handle, $/ holds the record
delimiter.
e.g Usually, you only read one line at a
time from a file, but if you undefine $/, you can read in a whole,
multiline file at once:
##
On 28/07/2011 22:58, Emeka wrote:
Rob,
Thanks... Could you also explain ... $/?
Emeka
Please look at the documentation I have indicated in
perldoc perlvar
and come back to this list if you still have questions.
Rob
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For addition
On 28/07/2011 22:36, Emeka wrote:
Hello All,
Could someone explain what $\ (end-of-marker) is?
I need something detail with simple and complex examples?
Take a look at
perldoc perlvar
for documentation on Perl's internal variables like this. This is what
it says
$\ The o
Hello All,
Could someone explain what $\ (end-of-marker) is?
I need something detail with simple and complex examples?
Emeka
--
*Satajanus Nig. Ltd
*