RE: WWW::Mechanize, save images from a page

2005-12-22 Thread mtbr1221
- Original Message - From: Dhanashri Bhate [EMAIL PROTECTED] To: [EMAIL PROTECTED], beginners@perl.org Sent: Thu, 22 Dec 2005 13:24 Subject: Fwd: RE: WWW::Mechanize, save images from a page Well, All I have to say is that my basic understanding of perl language and how to download a

encode base64 password

2005-12-22 Thread Ken Perl
Hi, Is the MIME::Base64 support unicode? I am trying to use the module to encode the a password. In the doc http://support.microsoft.com/default.aspx?scid=kb;en-us;263991 there is one line like this unicodePwd::IgBuAGUAdwBQAGEAcwBzAHcAbwByAGQAIgA= the encoded string is what I want to produce

Re: DIfference between system and back tick

2005-12-22 Thread John Doe
swayam panda am Donnerstag, 22. Dezember 2005 05.49: Hi All, Hello Swayam What is the difference between foreach ( system ls) { if (/1.pl/) { print ;}} Here the output is all the file of the CWD. Called this way, ls prints directly to STDOUT, and system returns the status of the

RE: WWW::Mechanize, save images from a page

2005-12-22 Thread Dhanashri Bhate
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 1:41 AM To: beginners@perl.org Subject: RE: WWW::Mechanize, save images from a page Ok perhaps it was towards flippant of me to ask about regard to domain reputation. I'll own that.

Re: encode base64 password

2005-12-22 Thread Adriano Ferreira
On 12/22/05, Ken Perl [EMAIL PROTECTED] wrote: Is the MIME::Base64 support unicode? MIME::Base64 supports conversion of binary data into a limited character set, convenient for transmission by e-mail and other means that prefer pure ASCII data. I am trying to use the module to encode the a

Re: DIfference between system and back tick

2005-12-22 Thread mtbr1221
(sorry joe, the earlier one to you was supposed to have been to the list instead) On Thu, 22 Dec 2005 10:10 , John Doe [EMAIL PROTECTED] sent: swayam panda am Donnerstag, 22. Dezember 2005 05.49: [ . . ] foreach ( system ls) { if (/1.pl/) { print ;}} Here the output is all the file of the

Re: CSV Help

2005-12-22 Thread Brian Bernard
I guess I'm referring to a spreadsheet then, if a csv does not have those options. Brian Bernard Senior, Direct Advanced Response Team Premier Support - Enterprise Research In Motion Limited Direct Dial: 1-519-888-7465 x5654 Email: [EMAIL PROTECTED] /* Sent using my BlackBerry 8700 */

RE: CSV Help

2005-12-22 Thread Brian Volk
Check out this link. http://search.cpan.org/~jmcnamara/Spreadsheet-WriteExcel/lib/Spreadsheet/Wri teExcel.pm#set_custom_color(%24index%2C_%24red%2C_%24green%2C_%24blue It explains the FORMAT METHODS that come w/ the Spreadsheet::WriteExcel module. Hope this helps. Brian Volk PS: forgive the

RE: CSV Help

2005-12-22 Thread Luke, David
Hi Charles, CSV is just data as text. There is no capacity for formatting. You can write a macro for your spreadsheet program to automate formatting the imported data, or you can switch to a Perl package which produces Excel (or other compatible) files rather than CSV. If you decide to switch to

Re: Logic and Rules

2005-12-22 Thread Chris Devers
On Thu, 22 Dec 2005, The Ghost wrote: I know this isn't a beginners question, but I didn't see any other mailing lists for it. I have about 40 flow charts I need to make into code. From a certain point of view, isn't *every* computer program, in *any* language, nothing more than the coded

HASH keys in exact order

2005-12-22 Thread Causevic, Dzenan
I am trying to print HASH keys in exact order as they are defined, but keys %HASH returns them in a random order, sort is not going to work either because keys are strings that are not defined in the exact alphabetical order. Is there a way to get %HASH keys in the original order as they are

Re: HASH keys in exact order

2005-12-22 Thread Paul Johnson
On Thu, Dec 22, 2005 at 05:18:35PM -0500, Causevic, Dzenan wrote: I am trying to print HASH keys in exact order as they are defined, but keys %HASH returns them in a random order, sort is not going to work either because keys are strings that are not defined in the exact alphabetical order.

Re: parse hash to module

2005-12-22 Thread Ditlev, Unix Consulting
JupiterHost.Net [EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL PROTECTED] You can do either but a refernce is more efficient: Maybe I should use a reference as you suggest now Iam using ... MyModule::function(%person) and in my function : my %person = @_; For now I don't think I

RE: HASH keys in exact order

2005-12-22 Thread Timothy Johnson
There are a couple of kludgy ways to do this, but any time you find yourself wanting to do this you have to stop and make sure that what you are attempting is really what you want to have happen. 99% of the time what you really want is an array. -Original Message- From: Causevic,

How to model discounts in commerce app?

2005-12-22 Thread pbdgny
Hello, This is not strictly a Perl or Beginner question, but since I am implementing this is Perl I thought I'd run it by the list Any suggestions on how to flexibly model coupons/discounts in an SQL backed commerce app? (bundle discounts, shipping modifiers, %off item/type, etc.) Thanks