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

Re^10: Sorting names using Regular Expressions and placing them in different Files.

by Kiran Kumar K V N (Initiate)
on Jan 05, 2007 at 12:43 UTC ( [id://593176]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re^9: Sorting names using Regular Expressions and placing them in different Files.
in thread Sorting names using Regular Expressions and placing them in different Files.

The above is giving the following compile Errors :- 1) Use of uninitialized value in scalar chomp at Data1.pl line 62, <INPUT> line 5310. 2) Use of uninitialized value in substitution (s///) at Data1.pl line 64, <INPUT> line 5310. 3) Use of uninitialized value in concatenation (.) or string at Data1.pl line 67, <INPUT> line 5310. Please help me in resolving this to get correct O/P.

  • Comment on Re^10: Sorting names using Regular Expressions and placing them in different Files.

Replies are listed 'Best First'.
Re^11: Sorting names using Regular Expressions and placing them in different Files.
by kwaping (Priest) on Jan 05, 2007 at 12:47 UTC
    Line 62: use chomp $searchline instead of just chomp.
    Line 64: use $searchline instead of $_ on the previous line.
    Line 67: use $searchline instead of $_.

    ---
    It's all fine and dandy until someone has to look at the code.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://593176]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.