Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > rcr: request for __DATA__ besides __END__ ..

Thread Tools

rcr: request for __DATA__ besides __END__ ..

Posts: n/a

in ruby there is __END__, and one can put data after that line. now
what if i want to put non-data related info thereafter..

my request would be that ruby use __DATA__ as complement to __END__
DATA word is very easy to remember.

if __DATA__ is placed before __END__, it will not usurp __END__ and
lines below it. very handy. no clashing.

thank you and best regards

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to store data in a Python file in a way similar toRuby's __END__ section? Christopher Roach Python 1 04-02-2010 08:44 PM
Weird problem with DATA and __END__ Michael T. Richter Ruby 4 08-31-2007 02:47 PM
Python end of file marker similar to perl's __END__ beginner Python 19 08-02-2007 10:07 PM
HTML::TokeParser; __DATA__ as a filehandle Jonathan@D4HRQQB1.i-did-not-set--mail-host-address--so-tickle-me Perl Misc 2 10-24-2006 06:27 PM
seek and __DATA__ not behaving how I would hope Chris Marshall Perl Misc 8 06-04-2005 10:18 PM