Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: <DATA> 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.


Comment on Re^2: <DATA> file handle not working with Perl Starwbery 5.12.1
Select or Download Code
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 making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2015-07-28 02:22 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 (251 votes), past polls