Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Calculate dynamic password by complement to 9

by Anonymous Monk
on Nov 20, 2015 at 09:05 UTC ( [id://1148212]=note: print w/replies, xml ) Need Help??


in reply to Calculate dynamic password by complement to 9

#!/usr/bin/perl -l # http://perlmonks.org/?node_id=1148205 use strict; use warnings; while(<DATA>) { my $pw = reverse map { split //, 999 - $_ } /\.(\d+)/g; print $pw; } # want # 199699309 # 199478688 __DATA__ 10.96.3.8 10.113.125.8

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-25 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found