Re: subcomponents
Hiram Gibbard <[email protected]> Mon, 9 Jan 2017 15:01:18 -0600
| Newsgroups | gmane.comp.web.mason.user |
|---|---|
| Message-ID | <CAGTmFdFaZKr7w_jF3-K3h2Eiu0N3npcGnvBgz8TXSjDPLuCFdQ@mail.gmail.com> |
--===============5124209694410139029== Content-Type: multipart/alternative; boundary=001a113786364dc66f0545afaba4 --001a113786364dc66f0545afaba4 Content-Type: text/plain; charset=UTF-8 thanks for that Seb, but what if I'm not finding a file called .is_valid_sshkey? using: sudo find / -type f -iname ".is_valid_sshkey" -ls On Mon, Jan 9, 2017 at 2:47 PM, Seb <[email protected]> wrote: > > Hi Hiram, > > > 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" >> > > The line means to use a Mason component whose code resides in the file > named ".is_valid_sshkey", which could also be written ./.is_valid_sshkey . > You will find this (hidden) file in the same directory as the one from > which the code is extracted. > > > Seb. > -- Hiram Gibbard [email protected] http://hiramgibbard.com --001a113786364dc66f0545afaba4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">thanks for that Seb, but what if I'm not finding a fil= e called=C2=A0<span style=3D"font-size:12.8px">.is_valid_sshkey?</span><div= ><span style=3D"font-size:12.8px"><br></span></div><div><span style=3D"font= -size:12.8px">using:</span></div><div><span style=3D"font-size:12.8px"><br>= </span></div><div><span style=3D"font-size:12.8px">sudo find / -type f -ina= me ".is_valid_sshkey" -ls</span></div></div><div class=3D"gmail_e= xtra"><br><div class=3D"gmail_quote">On Mon, Jan 9, 2017 at 2:47 PM, Seb <s= pan dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">seb@h-k= .fr</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar= gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br> Hi Hiram,<br> <br> <br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> my $is_valid =3D $m->comp(".is_valid_sshkey", sshkey =3D> $= ssh2, uidnumber =3D> $employeeNumber, );<br> <br> As I understand it, this is a mason subcomponent, but what isn't clear = to me is the ".is_valid_sshkey"<br> </blockquote> <br> The line means to use a Mason component whose code resides in the file name= d ".is_valid_sshkey", which could also be written ./.is_valid_ssh= key=C2=A0. You will find this (hidden) file in the same directory as the on= e from which the code is extracted.<span class=3D"HOEnZb"><font color=3D"#8= 88888"><br> <br> <br> Seb.<br> </font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <b= r><div class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div di= r=3D"ltr"><div>Hiram Gibbard<br><a href=3D"mailto:[email protected]" targe= t=3D"_blank">[email protected]</a></div><div><a href=3D"http://hiramgibbar= d.com" target=3D"_blank">http://hiramgibbard.com</a></div><div><br><div sty= le=3D"display:inline"></div></div></div></div> </div> --001a113786364dc66f0545afaba4-- --===============5124209694410139029== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ 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 --===============5124209694410139029== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Mason-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mason-users --===============5124209694410139029==--