Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: pattern match a name from stdin

by anniyan (Monk)
on Oct 05, 2005 at 15:41 UTC ( #497642=note: print w/ replies, xml ) Need Help??


in reply to pattern match a name from stdin

You add chomp($file).

print "$num_entry\n";

Also you are printing $num_entry which is not declared or used anywhere, check it.

Curly brace missing in your coding.

You coding works fine for me if i add that curly brace.

updated

Regards,
Anniyan
(CREATED in HELL by DEVIL to s|EVILS|GOODS|g in WORLD)


Comment on Re: pattern match a name from stdin
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2015-07-04 00:12 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 (57 votes), past polls