My Microsoft Word Trial expired and dont know any other text editor to use...
Hi all.
Help needed to get one regex to capture a <option> content highlighted below in parenthesis in the following 2 situations...
1) <select name="test"> <option value="a">a</option> <option value="b">b</option> (<option value="c" selected>c</option>) ... <option value="nx"></option> </select>
2) <select name="test2"> (<option value="a">a</option>) <option value="b">b</option> <option value="c">c</option> ... <option value="ny"></option> </select>
nx and ny denote an arbitrary number of option tags.
if "selected" is found within an <option ...></option>- capture the selected <option ... selected...></option> to backref \1
*otherwise* capture the first <option value="a"></option> within the <select>...</select>
using perl 5.8.0
Thanks in advance :)
What would be the best way on an online quiz- using a php/mySQL framwork to make a person - once they ve started the quiz have to finish or get zero s? Zend? Ajax? Ruby? Perl? Just sessions / cookies? (something else?)
(I d like it if they close the browser that it would submit a call as well- and I m thinking that might have to be done with JavaScript)
Code:
open (NGC_Input_File-"ngc_update.xml");
Problem:
I m new in perl and i have a code above. but i wanted to add where it will pick up any file that starts with ngc (ngc*.xml). I tris experimenting by adding * and othre stuff but it wont work plase help??
Also is it possible to add a directory. Let say C:\perl\bin in the code? if so how?
can u please sign this petition to keep my fav tv show on the air. i will give the points to whoever signed the most signatures.
http://www.petitiononline.com/mod_perl/signed.cgi?wfabcfam
is the data plan optional?? if i do need it and don t get it what happens??
No comments:
Post a Comment