Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Shared DBI handle supporting threads and processes

by perlygapes (Sexton)
on Jul 18, 2021 at 14:20 UTC ( #11135132=note: print w/replies, xml ) Need Help??


in reply to Re^2: Shared DBI handle supporting threads and processes
in thread Shared DBI handle supporting threads and processes

Thanks for the example. I ran it, and the DB was populated, but the code ended in the error:
Bizarre copy of ARRAY in list assignment at C:/Users/USERNAME/eclipse- +workspace/.metadata/.plugins/org.epic.debug/perl5db.pl line 6548, <__ +ANONIO__> line 4. END failed--call queue aborted, <__ANONIO__> line 4. at C:/Users/USERNAME/eclipse-workspace/PROJECT/mce_example_3.pl line +0, <__ANONIO__> line 4.
So I opened perl5db.pl, and line 6548 reads:
... sub _dump_trace_calc_saved_single_arg { my ($nothard, $arg) = @_; # <-- LINE 6548 my $type; if ( not defined $arg ) { # undefined parameter return "undef"; } ...
Any ideas?

Replies are listed 'Best First'.
Re^4: Shared DBI handle supporting threads and processes
by The Perlman (Scribe) on Jul 19, 2021 at 08:37 UTC
      /org.epic.debug/perl5db.pl

    You seem to be running the code not only with the perldebuger but inside the Eclipse IDE too.

    - Ron
      =O

      I have been found out!

      I didn't get that error running from within a console.

      Why would that be? Does eclipse hide secrets?

        Does eclipse hide secrets?

        Of course not! It eclipses them to make them unavailable to the naked eye, of course! :P

        you have epic problems ...

        > I didn't get that error running from within a console.

        ... and no Perl problems

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11135132]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2021-10-27 21:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (94 votes). Check out past polls.

    Notices?