Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Rakudo * DATA filehandle syntax

by molecules (Monk)
on Aug 11, 2010 at 16:44 UTC ( #854451=note: print w/ replies, xml ) Need Help??


in reply to Rakudo * DATA filehandle syntax

I don't know about the state of implementation for the DATA filehandle (and I've tried several variations to no avail). However, reading from a file seems to work fine:

my $data_fh = open 'data.txt'; for $data_fh.lines { .say }


Comment on Re: Rakudo * DATA filehandle syntax
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (19)
As of 2015-07-06 14:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (75 votes), past polls