Hi,
I am attempting to update an old script that handles email messages and strips out the attachments and delivers them to the correct folders depending upon their names.
The current setup is a nasty hack, and I'm having difficulties getting my head around it!
Looking at CPAN there seem to...
Hi,
I have an array of file names, all of which follow a standard naming convention which includes a verison number.
The follwoing are all examples:
522.EC202012 PB v0.1a.doc
522.EC202012 PB v1.doc
522.EC202012 PB v0.1.doc
522.EC207896 FRS v1.1.xls
522.EC207896 FRS v2.xls
522.EC207896 PQ.xls...
Hi,
I want to filter out strings in an array that do not start with the word unit. e.g.
unit1,
foo,
unitYeeHar,
bar,
Monky,
unit,
aunit
Becomes
unit1,
unitYeeHar,
unit
Is there a better way of doing this other then iterating through each element?
Thanks
Hi,
I have a dropdown selectbox:
<select name="units" style="width: 200px;">
<option value="">ALL</option>
<option value="">CPT1</option>
<option value="">CPT2</option>
</select>
And a bunch of checkboxes:
<label style="width: 60px;"><input type="checkbox" name="unit521"...
Hi,
I have a class called 'Record' and within which there is a property called '_database' which holds an instance of the class 'Database'.
Record is then extended by another class called 'UnitGroup', within 'UnitGroup' I want to be able to access {_database}->sql.
From 'Record' I can do this...
Hi,
I've always had difficulties understanding REs, and today is no exception! I want to be able to replace any occurances of:
<person>XXX</person>
with:
'<a href="somePage.pl?id=XXX">'$this->get('XXX')->toString'</a>'
where XXX can be any length and is numeric. How do I do this???
Thanks.
Hi,
I'm having some problems with the print function in perl when running through Apache.
The following works:
print qq[
test];
the following do not work:
print qq[test];
print "test";
print 'test';
But all of them work when running from the bash i.e. Perl someFile.pl
what the????? does...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.