File: embed-perl.e

package info (click to toggle)
entity 1.0.1-8
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,604 kB
  • ctags: 5,394
  • sloc: ansic: 64,242; sh: 7,377; makefile: 776; perl: 319
file content (13 lines) | stat: -rw-r--r-- 193 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env entity

<object default-lang="perl">
  <timer interval="90" action="doit"/>
  <perl>
  sub doit
  {
    $node = shift;
    $data = shift;
    print $node
  }
  </perl>
</object>