Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: SUPER delegation fails because class name getting munged (somehow?)

by pajout (Curate)
on Feb 23, 2011 at 16:36 UTC ( #889827=note: print w/replies, xml ) Need Help??


in reply to SUPER delegation fails because class name getting munged (somehow?)

You can try
sub new { my $class = shift; $class = ref($class) if ref($class); my $self = $class->SUPER::new(); # <--- randomly fails ... return $self; }
  • Comment on Re: SUPER delegation fails because class name getting munged (somehow?)
  • Download Code

Replies are listed 'Best First'.
Re^2: SUPER delegation fails because class name getting munged (somehow?)
by Anonymous Monk on Feb 24, 2011 at 04:19 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://889827]
help
Chatterbox?
[thezip]: Is there an analogy for '&' (ie. run commandline process in background) for Windows commandline?
[Corion]: thezip: start "some title" path\to\that\ application, but that will open another console window

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (14)
As of 2017-03-27 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (321 votes). Check out past polls.