Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Replacing a special character

by davido (Archbishop)
on Jun 13, 2013 at 05:13 UTC ( #1038671=note: print w/replies, xml ) Need Help??

in reply to Replacing a special character

So are you saying that if you were to print the contents of $dlog2[$co] it would be exactly "*", nothing more, and nothing less? There's not much to trace out here: If your print $fh "  ,"; is failing to print anything to $fh, then the possibilities are:

  • $dlog2[$co] doesn't contain exactly the single character "*" and nothing else.
  • The $fh filehandle wasn't successfully opened for output.
  • You're not actually running the code you posted (either by not running it, by not posting a copy/paste of real code, or by having the entire segment of code you posted here being skipped due to errant control flow.).

You're the only one who can trace out which of those possibilities are the cause.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1038671]
[Discipulus]: the whole weekend was dedicated to a marionette representation done for all the children of our family / clan and thei friend. 2+ hours divided in three acts + snack time
[Discipulus]: this is tradition since times of the grandfather of my father with many marionette / puppets and paintings of 1950 an before

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2017-03-27 07:25 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (317 votes). Check out past polls.