Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 wandering the Monastery: (7)
As of 2018-07-18 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (389 votes). Check out past polls.

    Notices?