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

Re^4: Yet another config file editing programme : Tell me how to make it better !

by dazz (Beadle)
on Sep 09, 2021 at 10:16 UTC ( [id://11136606]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Yet another config file editing programme : Tell me how to make it better !
in thread Yet another config file editing programme : Tell me how to make it better !

Hi
I added the line:
warn "ip param key : $ip_params{$0}\n"; #TEST
and another for debugging to see if hash key $0 and value $1 returned anything. Both printed blank.


Dazz

Replies are listed 'Best First'.
Re^5: Yet another config file editing programme : Tell me how to make it better !
by soonix (Canon) on Sep 10, 2021 at 08:20 UTC
Re^5: Yet another config file editing programme : Tell me how to make it better !
by eyepopslikeamosquito (Archbishop) on Sep 10, 2021 at 12:35 UTC

    Hey, can I join the "what did tybalt89 mean?" game? Sounds like fun. :)

    I think he meant that dazz needs to take a time out to read and understand perlretut and perlre before continuing. That you really need to understand what $0 and $1 mean, what they ought to contain, before printing them out and attempting to interpret their values. Hint: Read the Extracting Matches section at perlretut (and search for $0 and $1 in perlvar :).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-03-29 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found