rcr: request for __DATA__ besides __END__ ..

Discussion in 'Ruby' started by botp, Sep 25, 2010.

  1. botp

    botp Guest

    Hi,

    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
    -botp
    botp, Sep 25, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. beginner
    Replies:
    19
    Views:
    854
    Ben Finney
    Aug 2, 2007
  2. Christopher Roach
    Replies:
    1
    Views:
    274
    Martin v. Loewis
    Apr 2, 2010
  3. Michael T. Richter

    Weird problem with DATA and __END__

    Michael T. Richter, Aug 31, 2007, in forum: Ruby
    Replies:
    4
    Views:
    128
    Florian Aßmann
    Aug 31, 2007
  4. Chris Marshall

    seek and __DATA__ not behaving how I would hope

    Chris Marshall, May 17, 2005, in forum: Perl Misc
    Replies:
    8
    Views:
    124
    Tad McClellan
    Jun 4, 2005
  5. -did-not-set--mail-host-address

    HTML::TokeParser; __DATA__ as a filehandle

    -did-not-set--mail-host-address, Oct 24, 2006, in forum: Perl Misc
    Replies:
    2
    Views:
    133
    Brian Wilkins
    Oct 24, 2006
Loading...

Share This Page