Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^9: Create output from Perl hash

by Laurent_R (Canon)
on Feb 14, 2018 at 15:37 UTC ( #1209144=note: print w/replies, xml ) Need Help??


in reply to Re^8: Create output from Perl hash
in thread Create output from Perl hash

To remove the first two digits, try changing this:
$add =~ s/(\d+)$/1\/1\/1\/$1/;
to this:
$add =~ s/\d\d(\d+)$/1\/1\/1\/$1/;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1209144]
help
Chatterbox?
and the fire pops...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2018-08-18 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (185 votes). Check out past polls.

    Notices?