Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

2 basic questions

by Anonymous Monk
on Apr 29, 2013 at 13:45 UTC ( #1031208=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    $check = "a";
    print $check;
  2. or download this
     $input= "ab";
     $output = "b";

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1031208]
Approved by Corion
Front-paged by toolic
[abner]: I am seeking suggestion of how to substitute "Yes" or "No" for "1" or "0" when displaying data from mysql table.
[abner]: I was thinking something like: If $data1 == '1' {$answer = "Yes"}

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2017-01-25 02:15 GMT
Voting Booth?
Do you watch meteor showers?

Results (213 votes). Check out past polls.