User Profile

Collapse

Profile Sidebar

Collapse
venu4bytes
venu4bytes
Last Activity: Nov 14 '08, 05:42 PM
Joined: Nov 14 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • venu4bytes
    replied to Date validation using Pattern matching
    in Perl
    A date-validation program
    .
    Code:
    1: #!/usr/local/bin/perl
    2:
    3: print ("Enter a date in the format YYYY-MM-DD:\n");
    4: $date = <STDIN>;
    5: chop ($date);
    6:
    7: # Because this pattern is complicated, we split it
    8: # into parts, assign the parts to scalar variables,
    9: # then substitute them in later.
    10:
    11: # handle 31-day months
    12: $md1 = "(0[13578]|1[02])\\2(0[1-9]|[12]\\d|3[01])";
    ...
    See more | Go to post
    Last edited by eWish; Nov 14 '08, 11:14 PM. Reason: Please use the code tags

    Leave a comment:


  • venu4bytes
    started a topic how to configure apache and perl in fedora 9

    how to configure apache and perl in fedora 9

    can anybody help
    I unable to run perl-cgi scrips in fedora 9
    apache working correctly
    perl working correctly
    I think I should to change perl.conf file to run cgi programes.
    please tell what changes I should to make in configuration file.

    please it's urgent


    Thanks in advance
    venu k
    See more | Go to post
No activity results to display
Show More
Working...