summary refs log tree commit diff stats
path: root/raku/phone-number/Phone.rakumod
diff options
context:
space:
mode:
Diffstat (limited to 'raku/phone-number/Phone.rakumod')
-rw-r--r--raku/phone-number/Phone.rakumod16
1 files changed, 16 insertions, 0 deletions
diff --git a/raku/phone-number/Phone.rakumod b/raku/phone-number/Phone.rakumod
new file mode 100644
index 0000000..f2c828c
--- /dev/null
+++ b/raku/phone-number/Phone.rakumod
@@ -0,0 +1,16 @@
+unit module Phone;
+
+constant @errors = (
+   '11 digits must start with 1',
+   'more than 11 digits',
+   'incorrect number of digits',
+   'letters not permitted',
+   'punctuations not permitted',
+   'area code cannot start with zero',
+   'area code cannot start with one',
+   'exchange code cannot start with zero',
+   'exchange code cannot start with one',
+);
+
+sub clean-number ($number) is export {
+}