#Developer Notes
+* For vscode. Before installing perl, and perl::LanguageServer extension.
+ *$ sudo cpan -r Perl::LanguageServer
+ * This will recompile and test the language server with the system default installation of perl you have.
+ * With out the -r option, you might have experimental features compatibilities issues.
+
##Automate GIT Push
vim your ./LifeLog/.git/conf file to include:
# Programed by: Will Budic
# Open Source License -> https://choosealicense.com/licenses/isc/
#
-use v5.15;
+use v5.30;
#use diagnostics;
use warnings;
use strict;
-use experimental qw( switch );
-no warnings 'experimental';
+#no warnings 'experimental';
use Exception::Class ('LifeLogException');
use Syntax::Keyword::Try;
use DBI;
#Replace with a full link an HTTP URI
if ( $log =~ /<iframe / ) {
my $a = q(<iframe width="560" height="315"); my $b;
- given (Settings::frameSize()) {
- when("0") { $b = q(width="390" height="215") }
- when("1") { $b = q(width="280" height="180") }
- when("2") { $b = q(width="160" height="120") }
- default {
- $b = &Settings::frameSize;
- }
- }
+ given (Settings::frameSize()) {
+ when("0") { $b = q(width="390" height="215") }
+ when("1") { $b = q(width="280" height="180") }
+ when("2") { $b = q(width="160" height="120") }
+ default {
+ $b = &Settings::frameSize;
+ }
+ }
$b = qq(<div><iframe align="center" $b);
$log =~ s/$a/$b/o;
$a = q(</iframe>);