Help for this page

Select Code to Download


  1. or download this
    $var = "foo @{[ sub() ]} baz";  
    # Note: This calls the sub in list context, so may have a 
    # different effect than if called in scalar context.  Use 
    # ${ \sub() } for scalar context.
    
  2. or download this
    print "attribute 0=\t$1\n" if m/@{[ATTRIBUTE_0]}='(.*)'/;