在 2010-01-19二的 00:09 -0500,Perl Noob写道:
> I have a data file with thousands of records. The problem is that the
> records in the data file span two lines for each record. I want to
> write a perl script that makes each record a single line. The file
> looks like this:
>
HI,
If you are using a
I have a data file with thousands of records. The problem is that the
records in the data file span two lines for each record. I want to
write a perl script that makes each record a single line. The file
looks like this:
RECORD1FIELD1 RECORD1FIELD2 RECORD1FIELD3 RECORD1FIELD3
RE
- Original Message -
From: ""Johnson, Reginald (GTS)""
Newsgroups: perl.beginners
To:
Sent: Sunday, January 17, 2010 2:42 PM
Subject: hash of Arrays
I am trying to place the date of each day of the week for each month
that has 5 weeks into a hash. For instance my hash key 'Monday' w
> "Parag" == Parag Kalra writes:
Parag> EG: perl -e "print 'Happy Birthday Larry!!!'"
Parag> But this is very simple and you can directly make out without even
Parag> executing.
Sounds like the same question I asked when inventing JAPHs.
I'm sure you could apply nearly any JAPH technique t
Thank you all! I figured it out!
JIm
2010/1/18 Alexander Koenig :
> Hi Jim,
>
> Jim Green wrote on 01/17/2010 05:25 PM:
>> my $name = "/usr/local/bin/perl";
>> (my $basename = $name) =~ s#.*/##; # Oops!
>>
>> after substitution $basename is supposed to be
>> perl
>>
>> but why it is not /local/bi
2010/1/17 Johnson, Reginald (GTS) :
> I am trying to place the date of each day of the week for each month
> that has 5 weeks into a hash. For instance my hash key 'Monday' would
> point to an array that has all the dates where Monday is in the fifth
> week of the month.
> I've got that part going.
Hi Reginald!
On Sunday 17 Jan 2010 21:42:21 Johnson, Reginald (GTS) wrote:
> I am trying to place the date of each day of the week for each month
> that has 5 weeks into a hash. For instance my hash key 'Monday' would
> point to an array that has all the dates where Monday is in the fifth
> week o
I am trying to place the date of each day of the week for each month
that has 5 weeks into a hash. For instance my hash key 'Monday' would
point to an array that has all the dates where Monday is in the fifth
week of the month.
I've got that part going. My problem is I am having a problem accessing
Shlomi Fish wrote:
On Saturday 16 Jan 2010 14:32:13 Dr.Ruud wrote:
Shlomi Fish wrote:
rindolf: XML::Simple commits the fatal flaw of trying to
massage complicated and often irregular XML into the simple and highly
regular world of perl data structures.
That is a strange sentence. I think w
- Original Message -
2010/1/18 Shan :
I'm using ActiveState.May I use CPAN module for that.If so how it would
be.
First:
ppm install MinGW
Then:
cpan -i Convert::Binary::C
It's the same with Strawberry Perl, except that with Strawberry Perl you
already have MinGW, so there's no
2010/1/18 Shan :
> Thank u for your quick reply.
>
>
> Thanks,
> Shan
>
> - Original Message - From: "Dermot"
>
>> 2010/1/18 Shan :
>>>
>>> Hi All,
>>>
>>>
>>> How to install following module.or How to install following module in my
>>> system.I'm working in WINDOWS NT.
>>> Convert::Binary
2010/1/18 Shan :
>
> Hi All,
>
>
> How to install following module.or How to install following module in my
> system.I'm working in WINDOWS NT.
> Convert::Binary::C;Thanks and Regards,Shan
Hi Shan,
What Perl have you got installed? ActiveState's or Strawberry's? They
will have their own means of
Hi All,
How to install following module.or How to install following module in my
system.I'm working in WINDOWS NT.
Convert::Binary::C;Thanks and Regards,Shan
--
DISCLAIMER:
This message and any attachments are solely for the intended recipient
and may contain confidential or privileged inform
HI ALL!!! I'm new with Perl in general,
a newbie!!
I want to write a perl client for calling this web service :
http://bioinformatics.istge.it:8080/axis/services/cabri.getBacteriaById?wsdl
its a Soap web service RPC/encoded.
Please could some of you tell me
how to write such a script?!!?
norma
2010/1/17 Parag Kalra :
>>>So common folks give me some ideas.
>
> I meant - Come on Folks :P
>
> Cheers,
> Parag
>
>
>
>
> On Sun, Jan 17, 2010 at 11:34 PM, Parag Kalra wrote:
>
>> Hello All,
>>
>> I am looking for a geeky way to wish someone on his Birthday with the help
>> of Perl.
>>
>> Condit
Hi Jim,
Jim Green wrote on 01/17/2010 05:25 PM:
> my $name = "/usr/local/bin/perl";
> (my $basename = $name) =~ s#.*/##; # Oops!
>
> after substitution $basename is supposed to be
> perl
>
> but why it is not /local/bin/perl? will .*/ matches longest possible string?
Yes it will match the longe
16 matches
Mail list logo