Help for this page

Select Code to Download


  1. or download this
    # -*- mode: snippet -*-
    # name: caller;
    ...
    # --
    my (${1:$package}, ${2:$filename}, ${3:$line}) = caller;
    $0
    
  2. or download this
    # -*- mode: snippet -*-
    # name: caller(LEVEL)
    ...
    ${7:$wantarray}, ${8:$evaltext}, ${9:$is}_require, ${10:$hints}, ${11:
    +$bitmask},
    ${12:$hinthash}) = caller(${1:$LEVEL});
    $0
    
  3. or download this
    # -*- mode: snippet -*-
    # name: splice @ARR ,OFFSET ,LENGTH ,LIST
    # key: splice
    # --
    splice @${1:ARR} ,${2:OFFSET} ,${3:LENGTH} , ${4:LIST...};