"Thanks..."
My pleasure. Next step: Go over that bridge named "module" - as some fellow monks mentioned already.
Like this, less or more:
package YourModule; use strict; use warnings; use Exporter qw(import); our ( $VERSION, @EXPORT_OK ); $VERSION = 1.00; @EXPORT_OK = qw(from_json); sub from_json { # stuff... } 1;
See also Re: How to parse the logs in a generic manner
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
Furthermore I consider that Donald Trump must be impeached as soon as possible
In reply to Re^7: Can not use JSON module
by karlgoethebier
in thread Can not use JSON module
by tejD
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |