<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.ubiquitous-network.ch/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.ubiquitous-network.ch/feed.php">
        <title>Ubiquitous Network Wiki - en:perl</title>
        <description></description>
        <link>https://wiki.ubiquitous-network.ch/</link>
        <image rdf:resource="https://wiki.ubiquitous-network.ch/lib/exe/fetch.php?media=logo.png" />
       <dc:date>2026-04-18T15:39:37+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.ubiquitous-network.ch/doku.php?id=en:perl:keywords&amp;rev=1715437555&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.ubiquitous-network.ch/doku.php?id=en:perl:perlarrow&amp;rev=1626113956&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.ubiquitous-network.ch/doku.php?id=en:perl:perlcontext&amp;rev=1715436955&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.ubiquitous-network.ch/doku.php?id=en:perl:perlother&amp;rev=1626114821&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.ubiquitous-network.ch/doku.php?id=en:perl:perlre&amp;rev=1626113956&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.ubiquitous-network.ch/lib/exe/fetch.php?media=logo.png">
        <title>Ubiquitous Network Wiki</title>
        <link>https://wiki.ubiquitous-network.ch/</link>
        <url>https://wiki.ubiquitous-network.ch/lib/exe/fetch.php?media=logo.png</url>
    </image>
    <item rdf:about="https://wiki.ubiquitous-network.ch/doku.php?id=en:perl:keywords&amp;rev=1715437555&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-11T14:25:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Mots-clés</title>
        <link>https://wiki.ubiquitous-network.ch/doku.php?id=en:perl:keywords&amp;rev=1715437555&amp;do=diff</link>
        <description>Mots-clés

Il s&#039;agit d&#039;une liste de tous les mots-clés Perl et vous pouvez simplement les copier-coller pour les inclure dans votre script ! Profitez-en... Mais attention, il y a quelques caractères spéciaux et nous pouvons facilement en perdre certains</description>
    </item>
    <item rdf:about="https://wiki.ubiquitous-network.ch/doku.php?id=en:perl:perlarrow&amp;rev=1626113956&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-07-12T18:19:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Arrow Notation</title>
        <link>https://wiki.ubiquitous-network.ch/doku.php?id=en:perl:perlarrow&amp;rev=1626113956&amp;do=diff</link>
        <description>Arrow Notation

Equivalence:


$array[$x]-&gt;{&quot;foo&quot;}-&gt;[0] = &quot;January&quot;;
$array[$x]{&quot;foo&quot;}[0] = &quot;January&quot;;
but
$array-&gt;[$x]{&quot;foo&quot;}[0] = &quot;January&quot;; (WRONG, as array is not a ref)


Derefencing


${$arrayref}[0]     =  ${$arrayref}-&gt;[0]     =  $arrayref-&gt;[0]    = &quot;January&quot;;  
${$hashref}{&quot;KEY&quot;}  =  ${$hashref}-&gt;{&quot;KEY&quot;}  =  $hashref-&gt;{&quot;KEY&quot;} = &quot;VALUE&quot;;

${$coderef}(1,2,3)  = ${$coderef}-&gt;(1,2,3)  =  $coderef-&gt;(1,2,3)     Subroutine call or method object 


${$aref}[3]   $aref-&gt;[3] instead.
${$href}{red…</description>
    </item>
    <item rdf:about="https://wiki.ubiquitous-network.ch/doku.php?id=en:perl:perlcontext&amp;rev=1715436955&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-11T14:15:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Context</title>
        <link>https://wiki.ubiquitous-network.ch/doku.php?id=en:perl:perlcontext&amp;rev=1715436955&amp;do=diff</link>
        <description>Context

Force context


by having a left value from the right type it type !
$a= force scalar context  # works with array, list, hash (+ keys +values) and may be other
@a= force array  context  # works with        list, hash (+ keys +values) and may be other, but not with scalar
%a= force hash   context  # works with array, list,                       and may be other, but not with scalar
()= force list   context  # works with array, list, hash (+ keys +values) and may be other, but not with sc…</description>
    </item>
    <item rdf:about="https://wiki.ubiquitous-network.ch/doku.php?id=en:perl:perlother&amp;rev=1626114821&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-07-12T18:33:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Other</title>
        <link>https://wiki.ubiquitous-network.ch/doku.php?id=en:perl:perlother&amp;rev=1626114821&amp;do=diff</link>
        <description>Other


Other type can also be ref or deref

$coderef   = \&amp;handler;
$globref   = \*foo

copy: 
$aref2 = [@{$aref1}]; deref + put in a array ref
$href2 = {%{$href1}}; deref + put in a array ref


Autovivification


Make thing exists automatically...if you access them and can produce errors

Can use: use warnings NONFATAL =&gt; &#039;all&#039;, FATAL =&gt; &#039;uninitialized&#039; or simply use warnings FATAL =&gt; &#039;uninitialized&#039; 
or use Hash::Util qw( lock_keys unlock_keys );

my $some_ref = { akey =&gt; { deeper =&gt; 1 } };
l…</description>
    </item>
    <item rdf:about="https://wiki.ubiquitous-network.ch/doku.php?id=en:perl:perlre&amp;rev=1626113956&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-07-12T18:19:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Reference</title>
        <link>https://wiki.ubiquitous-network.ch/doku.php?id=en:perl:perlre&amp;rev=1626113956&amp;do=diff</link>
        <description>Reference

Reference were quite complex, so we made a resume from all info we found and try the make something clear and short. But they are extremly powerfull and is a must have if you do programming in perl. Of course we probably miss something so feel free to tell us what you think.</description>
    </item>
</rdf:RDF>
