42 users online (0 members and 42 guests)  


  Results 1 to 2 of 2

Related

  1. Replies: 1
  2. please test for me...help!    Forum: Web Hosting Forum
    Replies: 8
  1. #1
    J-Man's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Nov 2003
    Posts
    32

    Perl - Test for  ???

    Does anyone know how to test for   in Perl? Thanks in advance!!

  2. #2
    cgiexpo's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2003
    Location
    Washington
    Posts
    6

    perl  

    Quote Originally Posted by J-Man
    Does anyone know how to test for   in Perl? Thanks in advance!!
    I'm not quite sure if I understand what you are asking, but I may ...try:

    if ($whatever =~ /\ /) {
    print "Yup!\n";
    } else {
    print "Nope\n";
    }



Tags for this Thread