Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: Re: [Robert] Pass var to global: Edit Log

Here is the list of edits for this post
Re: [Robert] Pass var to global
global test:

sub {
return { age => "15", color => "red" };
}

<%test.age%> is not defined!

Only after a dump, i can see it.
So i need to make a dump inside a <!-- -->

Seems strange.


.... OK ... you have written the answer before:

<%test%>
<%test.age%>

would do it. :)

Last edited by:

Robert: May 26, 2016, 1:15 PM

Edit Log: