Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Re: Unicode in almost any Browser?!?

by PipTigger (Hermit)
on Jan 17, 2001 at 16:12 UTC ( #52498=note: print w/replies, xml ) Need Help??

in reply to Re: Unicode in almost any Browser?!?
in thread Unicode in almost any Browser?!?

I thinq I did it that way because I wanted the form to accept "0" for the border width && cell padding but not for any of the other fields. If the form is submitted with a "0" in the fields seeded w/ "|| xxxx", it'll get the default value but I used the "unless defined" construct in order to avoid overriding a valid "0" value from the form. I'm sure I'm describing this way too verbosely here. I hope it makes sense.

There's surely a better way I'm not aware of to handle these conditions in the code too. I really should've used the "here document" method for printing all that stuff to. Thanks for the suggestion OeufMayo! I'll try to remember that next time =). Shalom.

  • Comment on Re: Re: Unicode in almost any Browser?!?

Replies are listed 'Best First'.
Re: Re: Re: Unicode in almost any Browser?!?
by beppu (Hermit) on Jan 20, 2001 at 03:26 UTC
    I'll try to remember that next time =).
    yeah, right. ;-)
      Hey you skeptic! Look at my code from a few months ago. Who would've thought I'd actually start using "#!perl -w" && "use strict;" but it happened. I'll use a here document in the future too. I'm not opposed to doing things in a new way if I lern that it's better than what I have been doing. In fact I didn't normally use the qq() function either... I used to escape all my double quotes.

      So I am adopting new habits. I am constantly trying to become a more efficient && elegant Perl hacker... a more practiced Monk if you will. I'm all defensive about it because I care what you thinq! You're just trolling me aren't you!?! Punko! I'll get you back! ;-) TTFN.

      p.s. Initiate Nail Removal Immediately!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2021-09-17 07:54 GMT
Find Nodes?
    Voting Booth?

    No recent polls found