Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: webamoeba
  • Content: Threads
  • Order by date
  1. webamoeba

    Create Mail::Message from <STDIN>

    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...
  2. webamoeba

    find specif pattern in a string and return it?

    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...
  3. webamoeba

    filter array?

    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
  4. webamoeba

    Select checkboxes on action.

    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"...
  5. webamoeba

    Access Superclass properties???

    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...
  6. webamoeba

    ER makes me er.....

    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.
  7. webamoeba

    Print misbehaving????

    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...

Part and Inventory Search

Back
Top