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

Re^2: Why does an undef argument in a join produce this warning?

by Anonymous Monk
on Apr 24, 2008 at 06:23 UTC ( #682567=note: print w/replies, xml ) Need Help??


in reply to Re: Why does an undef argument in a join produce this warning?
in thread Why does an undef argument in a join produce this warning?

Thanks. you and chromatic were right
  • Comment on Re^2: Why does an undef argument in a join produce this warning?

Replies are listed 'Best First'.
Re^3: Why does an undef argument in a join produce this warning?
by mscharrer (Hermit) on Apr 24, 2008 at 08:37 UTC
    You already have the solution for this case. If you ever have issues with unwanted warnings again, you should know that there can be specifically deactivated locally in the current scope.

    E.g. if you know that one function can cause this warning and the only way around would be massive use of if defined you can just say no warnings 'uninitialized'; to tell Perl that you don't want this specific warning inside the current scope, i.e. sub function or { } block, etc.

      Of course, in this case, the warning pointed to a bug...
      --
      Wade

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2023-09-21 12:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?