Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 meditating upon the Monastery: (4)
As of 2014-07-25 04:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls