Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: printing hash values and keys from user

by liverpole (Monsignor)
on Nov 01, 2010 at 18:22 UTC ( #868840=note: print w/ replies, xml ) Need Help??


in reply to printing hash values and keys from user

Hi pinnacle,

Yes, it's because you are using a key that has a newline on it.

Try doing:

my $type = <stdin>; chomp $type;

before using the key.


s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/


Comment on Re: printing hash values and keys from user
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (16)
As of 2015-07-30 14:52 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 (271 votes), past polls