Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

initialise state variable from list context, NOT!

by Random_Walk (Prior)
on Sep 08, 2009 at 12:32 UTC ( #794116=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package XML::SAX::jmeter;
    use strict;
    ...
    state %record = %{empty_record}; 
    #Initialization of state variables in list 
    #context currently forbidden at ...
    
  2. or download this
    state %record = %{empty_record()};
    state %record = %{&empty_record};
    state %record = %{&empty_record()};
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://794116]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
What's the matter? Cat got your tongue?...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2018-06-18 21:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (110 votes). Check out past polls.

    Notices?