Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^4: following if condition fails to print its variable using perl?

by finddata (Sexton)
on Mar 15, 2017 at 09:16 UTC ( #1184665=note: print w/replies, xml ) Need Help??


in reply to Re^3: following if condition fails to print its variable using perl?
in thread following if condition fails to print its variable using perl?

Here,
i had print as like print 'name :$name', ((exists $name_map->{$name} ) + ? "is in hash" : "is not in hash"), "\n"; above the if condition but it prints not in hash .without taking hash +how it can rename the contents
  • Comment on Re^4: following if condition fails to print its variable using perl?
  • Download Code

Replies are listed 'Best First'.
Re^5: following if condition fails to print its variable using perl?
by marto (Cardinal) on Mar 15, 2017 at 10:10 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2020-09-29 12:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (146 votes). Check out past polls.

    Notices?