Hi,

Trying to decifer this statment:

my $is_valid = $m->comp(".is_valid_sshkey", sshkey => $ssh2, uidnumber =>
$employeeNumber, );

As I understand it, this is a mason subcomponent, but what isn't clear to
me is the ".is_valid_sshkey"

is is_valid_sshkey supposed to be defined somewhere like a
function/subroutine ?

As the documentation reads its states the following:

"How does Mason figure out which component calls are specified directly and
which indirectly? It applies some simple parsing rules. In a component call
tag, if the first nonwhitespace character is a letter, number, underscore (
_ ), slash ( / ), or period ( . ), Mason assumes that this text is a plain
text component path rather than a Perl expression. In that case, everything
up to the first comma or end of the tag (&>), whichever comes first, is
assumed to be a string specifying the component path. Anything after a
comma, if present, will be considered a list of arguments to pass to the
called component."


which i assume means it's just text? I've searched all the code and files
looking for mention of is_valid_sshkey in hopes it would be a function or
routin defined that accepted two parameters?

Looking for laymen terms guidance.

-- 
Hiram Gibbard
hgibb...@gmail.com
http://hiramgibbard.com
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to