Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: "uninitialized value in subroutine exit" warning from CGI.pm

by LanX (Bishop)
on Nov 10, 2017 at 03:36 UTC ( #1203099=note: print w/replies, xml ) Need Help??


in reply to "uninitialized value in subroutine exit" warning from CGI.pm

Just a guess, I'm too tired ATM. ..

Your substr code might return an empty list in list context, which would mean passing am odd number of arguments to textfield

edit

Another guess: substr can also return an lvalue which is passed by reference to the @_ aliases, thus causing a different (ie broken) error handling.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

  • Comment on Re: "uninitialized value in subroutine exit" warning from CGI.pm

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1203099]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2017-12-16 00:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (447 votes). Check out past polls.

    Notices?