Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2016-12-08 16:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (143 votes). Check out past polls.