Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Subroutine Produces Output but Fails to Return to Parent

by chargrill (Parson)
on Jan 18, 2007 at 23:26 UTC ( #595377=note: print w/replies, xml ) Need Help??

in reply to Subroutine Produces Output but Fails to Return to Parent

Incidentally, you don't need to use join if you're just doing a simple concatenation (which it appears you are). One of these varients suffices:

$dynam_Sql_stmt = "$dynam_Sql_stmt from $p_str_tblName where RECORDXFE +REDTOFILE = 'I'"); # or $dynam_Sql_stmt = $dynam_Sql_stmt . " from " . $p_str_tblName . " wher +e RECORDXFEREDTOFILE = 'I'");

... with my preference toward the former.

But the advice from everyone else is quite good. We need more code, if only we see what the values of some of your variables are, as well as what code you've elided.

You might just have some code that's incorrect case and it can be hard to see that. use strict; will catch those kinds of errors.

s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2019-10-20 09:47 GMT
Find Nodes?
    Voting Booth?