Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: file handle not working with Perl Starwbery 5.12.1

by Generoso (Parson)
on Dec 23, 2010 at 06:28 UTC ( #878740=note: print w/replies, xml ) Need Help??


in reply to Re: <DATA> file handle not working with Perl Starwbery 5.12.1
in thread <DATA> file handle not working with Perl Starwbery 5.12.1

This works fine for me.

#! perl # use strict; use warnings; while(<DATA>){ print if /Norma/; } __DATA__ Steve Blenheim Betty Boop Igor Chevsky Norma Cord

Result

perl "D:\perl_TK\DBperl\perl6data.pl" Process started >>> Norma Cord <<< Process finished.

Replies are listed 'Best First'.
thank you
by sufi (Initiate) on Dec 23, 2010 at 07:11 UTC
    Hi Thank you for help Cheers Sufi

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2016-08-31 22:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (436 votes). Check out past polls.