Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Not getting desire output by using switch statement in Perl

by rammohan (Acolyte)
on Jan 06, 2014 at 12:08 UTC ( #1069498=note: print w/ replies, xml ) Need Help??


in reply to Re: Not getting desire output by using switch statement in Perl
in thread Not getting desire output by using switch statement in Perl

i don't get how it works this script for case. Please could explain your script ... when i execute your script I'm getting this output
Else 5 12 12 15 Else Else 15 18 12 4
. What this output could you please explain this..
Comment on Re^2: Not getting desire output by using switch statement in Perl
Download Code
Replies are listed 'Best First'.
Re^3: Not getting desire output by using switch statement in Perl
by Corion (Pope) on Jan 06, 2014 at 12:18 UTC

    How does the output differ from the output you expect?

    For example, it seems to me that e should map to 5 and l should map to 12 from your problem description.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2016-05-01 14:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found