Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Re: Getting data out of __DATA__ and __END__

by IraTarball (Monk)
on Sep 10, 2001 at 21:05 UTC ( #111510=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @words = map { split " ",$_ } <DATA>;
    
  2. or download this
    my @ary = split (" ", $_) while (<DATA>);
    
  3. or download this
    while (<DATA>) {
      my @ary = split (" ", $_);
    }
    
  4. or download this
    use strict;
    use warnings;
    ...
    __DATA__
    ksg gae agdg ekau eg
    Gke geo g ep ge
    
  5. or download this
    SV = RV(0x1a97584) at 0x1a7f0bc
      REFCNT = 1
    ...
        MAX = 4
        ARYLEN = 0x0
        FLAGS = (REAL)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://111510]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2019-08-18 19:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?






    Results (135 votes). Check out past polls.

    Notices?