Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: RFC: Business::CreditCard::Obscure

by izut (Chaplain)
on Aug 21, 2006 at 18:22 UTC ( #568633=note: print w/replies, xml ) Need Help??


in reply to Re^2: RFC: Business::CreditCard::Obscure
in thread RFC: Business::CreditCard::Obscure

I could use the module like this:

my $obscure = Business::CreditCard::Obscure->new(cardnum => '123456789 +012')->obscure();

Since it is very specific, why don't you write your module to export a function, like this:

use Business::CreditCard::Obscure qw(obscure); my $obscure = obscure(cardnum = '123456789012');

Igor 'izut' Sutton
your code, your rules.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2021-05-06 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (79 votes). Check out past polls.

    Notices?