Hi all,
I want to call a matlab program(*.m) in the perl sript, how to realize this
function?
Thanks in advance~
2008-06-11
The Key Lab of Complex Systems and Intelligence Science,
Institute of Automation,
Chinese Academy of Sciences.
I'm using lwp-download from the comand line to download a PDF file
from a site, and I'm receiving an error: Use of
"uninitialized value at C:\Perl\bin/lwp-download line 171."
I also receive the same message when I'm downloading a gif or jpg
Thanks,
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
On Jun 10, 7:46 pm, [EMAIL PROTECTED] (Sivasakthi) wrote:
.
.
> I need rpm or source of ByteLoder module
You'll find both ByteLoader.pm and ByteLoader.xs in the ext/ByteLoader
directory in the perl 5.8.8 source distribution.
Just copy those 2 files to some build location, create a Makefile.PL,
and
2008/6/11 Rob Dixon <[EMAIL PROTECTED]>:
> Dermot wrote:
>> Hi All,
..snip
>> So how do you create a code reference in this context, should I create
>> a code reference or use something else and what should I be test the
>> hash values for?
>> Thanx in advance.
>> Dp.
>>
>>
>>
>> #!/usr/bin/perl
John W. Krahn wrote:
Aruna Goke wrote:
If i run the below code it does not right to the voucher.rtf file.
Can you guide on the best way to accomplish this.
#!/usr/bin/perl
use warnings;
use strict;
my ($pin, $pin1, $pin2, $val);
format MINE=
Voucher @<<< Voucher @<<<
I'm having trouble wrapping my brain around this:
I am writing a script that will receive two integers as input that
represent a single float. The first is the integer part, the second is
hat mantissa. How do I recomine them into a single float? all I'm
coming up with so far is:
my $float = $int_
Hi,
I have written a small Perl script so to fetch information about the
user. Here is the code:
/1use strict;
2use warnings;
3use Win32::Netadmin;
4Win32::NetAdmin::UserGetAttributes(my $server,my $userName,my
$password,my $passwordAge,my $privilege,my $homeDir,my $comment,my
Hi
Well i try to attach a file, but i dont know what function or method i need
to use, here is my code, i hope anybody can help me thanks
(im only want to attach files, thanlks )
#!/usr/bin/perl
use Mail::Internet;
use Mail::Box::Manager;
use Email::Folder;
$folder_file = "/home/agarc
Jay Savage wrote:
>
> I'm having trouble wrapping my brain around this:
>
> I am writing a script that will receive two integers as input that
> represent a single float. The first is the integer part, the second is
> hat mantissa. How do I recomine them into a single float? all I'm
> coming up wi
Gunwant Singh wrote:
>
> I have written a small Perl script so to fetch information about the
> user. Here is the code:
>
> /1use strict;
> 2use warnings;
> 3use Win32::Netadmin;
> 4Win32::NetAdmin::UserGetAttributes(my $server,my $userName,my
> $password,my $passwordAge,my $pri
I am new to perl and would appreciate any suggestions as to how to do
the following.
I have two files, one with 3.5 million records, the other with almost a
million records. Basically here's what I need to do.
See if field_1 in file_a is part of field_1 in file_b
If so, see if field_2 in file_a
Ferry, Craig wrote:
>
> I am new to perl and would appreciate any suggestions as to how to do
> the following.
>
> I have two files, one with 3.5 million records, the other with almost a
> million records. Basically here's what I need to do.
>
> See if field_1 in file_a is part of field_1 in fi
From: "Armin Garcia" <[EMAIL PROTECTED]>
Hi
Well i try to attach a file, but i dont know what function or method i
need
to use, here is my code, i hope anybody can help me thanks
(im only want to attach files, thanlks )
I found it more easy to use
Mail::Sender::Easy
for sending tex
Armin Garcia wrote:
> Hi
> Well i try to attach a file, but i dont know what function or method i need
> to use, here is my code, i hope anybody can help me thanks
> (im only want to attach files, thanlks )
>
>
> #!/usr/bin/perl
>
> use Mail::Internet;
> use Mail::Box::Manager;
> use E
Ferry, Craig wrote:
>
> My original data is in a database. I did really mean that field 1 in
> file a could be any part of field 1 in file b. I also forgot to
> mention that in addition to it being in any part of field 1 of file b, I
> have to strip out special characters from file b before do
hi !!!
thanks for your help
And im sorry Rob, but this code its not mine ... but thanks, i never see in
my mind how you minimize that code, really thanks for your help, and i found
another module named MIME::Lite, its more easy to use, and attach files, and
do another things very quickly and
Hi Craig
Please keep your responses to the perl.beginners group so that others
can both
provide input as well as learn from your experience. Thanks.
I suggest you stick with Perl but process the data directly from the
database.
Take a look at the DBI module, which isn't a standard one and so may
hello list , hello Rob
many thanks for the reply.
to avoid confusion - i try a first reply to your adress - not to the list. I am
aware that i have to explain the issue, the problem and the needs more clearly
- i try to do so.
Rob please give me feedback on that - if you need more input then
Ferry, Craig wrote:
>>
>> Please keep your responses to the perl.beginners group so that others
>> can both
>> provide input as well as learn from your experience. Thanks.
>>
>> I suggest you stick with Perl but process the data directly from the
>> database.
>> Take a look at the DBI module, whi
Armin Garcia wrote:
> hi !!!
>
> thanks for your help
>
>
> And im sorry Rob, but this code its not mine ... but thanks, i never see
> in my mind how you minimize that code, really thanks for your help, and
> i found another module named MIME::Lite, its more easy to use, and
> attach files,
On Jun 8, 5:03 pm, [EMAIL PROTECTED] (Rob Dixon) wrote:
> oldgeezer wrote:
> > Hi all,
>
> > Last week I discovered this perl.beginners group.
> > Good stuff here, albeit many times hard to grasp
> > the answers. But I'm learning.
>
> > What I would like to understand is why looping
> > 2 times thr
Hello,
I downloaded Lingua-EN-Sentence-0.25 from CPan (http://search.cpan.org/
~shlomoy/Lingua-EN-Sentence-0.25/). I followed the install
instructions and everything seemed to go fine. However when I attempt
to use it in my perl script I get the error
Lingua::EN::Sentence version 1 required--this
From: oldgeezer <[EMAIL PROTECTED]>
> But you also made me aware of a mistake
> I always made until now. The three periods in
> for (x...y)
> I must have inherited that error from
> another language. Probably from an
> interpreter I wrote myself some 30
> years ago.
It's not an error. Just so
[Earlier...]
> ""Armin" == "Armin Garcia" <[EMAIL PROTECTED]> writes:
Armin> [...] here is my code, i hope anybody can help me [...]
[note he said "my code"]
[And then later...]
> ""Armin" == "Armin Garcia" <[EMAIL PROTECTED]> writes:
Armin> And im sorry Rob, but this code its not mi
Armin Garcia wrote:
Hi
Hello,
Well i try to attach a file, but i dont know what function or method i need
to use, here is my code, i hope anybody can help me thanks
(im only want to attach files, thanlks )
#!/usr/bin/perl
use warnings;
use strict;
use Mail::Internet;
use Mail:
oldgeezer wrote:
>
> Hi all,
>
> Sorry for the late response, I've been busy doing something else.
That's cool.
> As a newbie in this perl.beginners, I did not know that it is a good thing to
> tell what purpose the script has. My script is purely hobby. All my scripts
> are.
As a general prin
Randal L. Schwartz wrote:
> [Earlier...]
>
>> ""Armin" == "Armin Garcia" <[EMAIL PROTECTED]> writes:
>
> Armin> [...] here is my code, i hope anybody can help me [...]
>
> [note he said "my code"]
>
> [And then later...]
>
>> ""Armin" == "Armin Garcia" <[EMAIL PROTECTED]> writes:
>
>
jobst müller wrote:
> hello list , hello Rob
>
> many thanks for the reply.
>
> to avoid confusion - i try a first reply to your adress - not to the list. I
> am aware that i have to explain the issue, the problem and the needs more
> clearly - i try to do so.
>
> Rob please give me feedback o
[EMAIL PROTECTED] wrote:
> Hello,
>
> I downloaded Lingua-EN-Sentence-0.25 from CPan (http://search.cpan.org/
> ~shlomoy/Lingua-EN-Sentence-0.25/). I followed the install
> instructions and everything seemed to go fine. However when I attempt
> to use it in my perl script I get the error
>
> Ling
Hi people...
Well i see i create a problem My apologies for this...
First, I post this problem becouse, im relative newer programming on perl,
and becouse as you now, when you end the school and start in a new job, you
sometimes dont have the suffient time to do your work, i recive this code
Armin Garcia wrote:
>
> Well i see i create a problem My apologies for this...
>
> First, I post this problem becouse, im relative newer programming on perl,
> and becouse as you now, when you end the school and start in a new job, you
> sometimes dont have the suffient time to do your work,
hi guys,
Just for learning purpose and also for my enjoyment, I wanted to combine
my fav game(blackjack) and my love for perl.
I wanted to re-invent the wheel to help me and train myself to think
like programmar
First I wanted to create a pseudocode code since I wanted to use it
late
Hi All,
Why this following code has not working as expected?
print "Number of element(s) : " . sprintf("%10d", keys(%hash) ) . "\n";
Thanks.
--budhi
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On Thu, Jun 12, 2008 at 12:15 AM, beast <[EMAIL PROTECTED]> wrote:
> Hi All,
>
>
> Why this following code has not working as expected?
>
>print "Number of element(s) : " . sprintf("%10d", keys(%hash) ) . "\n";
>
Try: print "Number of element(s): " . sprintf("%10d", scalar keys(%h)),"\n";
>
Richard Lee wrote:
> hi guys,
>
> Just for learning purpose and also for my enjoyment, I wanted to combine my
> fav game(blackjack) and my love for perl. I wanted to re-invent the wheel to
> help me and train myself to think like programmar
>
> First I wanted to create a pseudocode code s
beast wrote:
> Hi All,
>
>
> Why this following code has not working as expected?
>
> print "Number of element(s) : " . sprintf("%10d", keys(%hash) ) . "\n";
keys(%hash) returns the hash keys as a list, so
sprintf("%10d", keys(%hash) )
is like
sprintf("%10d", 'key3', 'key4', 'key1',
Rob Dixon wrote:
I suggest you start by describing a very simple game that's not blackjack. One
player gets dealt cards until he hits 21 or more. 21 is a win, more is a loss.
Then add a dealer's hand.
Then add face down cards
Then add betting
Then add, erm, insurance?
Finish with the green
Richard Lee wrote:
Rob Dixon wrote:
I suggest you start by describing a very simple game that's not
blackjack. One
player gets dealt cards until he hits 21 or more. 21 is a win, more
is a loss.
Then add a dealer's hand.
Then add face down cards
Then add betting
Then add, erm, insurance?
Richard Lee wrote:
> Rob Dixon wrote:
>> I suggest you start by describing a very simple game that's not blackjack.
>> One
>> player gets dealt cards until he hits 21 or more. 21 is a win, more is a
>> loss.
>>
>> Then add a dealer's hand.
>>
>> Then add face down cards
>>
>> Then add betting
>>
39 matches
Mail list logo