scaping and quoting
mistakes in the original.
uri
I would think /^\d{5,6}/ would be what is needed? He wanted 5 or 6 digits.
--Sam
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
On 10/30/2018 10:24 PM, Martin McCormick wrote:
I can not seem to send Time::Piece any syntax it likes.
The file I am reading sends a time stamp that should
conform to RFC822 date stamps. An example of a stamp follows:
main::(lwx:204):my @obtime = split( /\,+/, $dat
accidentally passing a hashref instead of a scalar value.
One can also turn on the DBI trace log as well. It will show the inserts
with the data. Of course it won't tell you where it is running from
code-wise. And it won't help if you can't get the bad values to appear
on demand
I've never used active state, you might try strawberry perl if you are
on windows.
--Sam
On 11/12/2015 07:53 AM, Rui Fernandes wrote:
/Hi,
I'm having a problem compiling a perl script to run in my windows 7 32
bits environment. It compiles with Perl Dev Kit from active state, but
On 07/01/2015 01:29 PM, bikram behera wrote:
Hi Team,
My name is Bikram Behera , am new in perl want to learn perl.
Thanks,
Bikram Behera
I'd recommend a good book: http://amzn.com/1118013840
--Sam
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e
On 05/20/2015 12:45 PM, Chankey Pathak wrote:
Certificates are of no value in my opinion.
But a good github profile is :)
--Sam
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
t of the more modern
stuff going on in the perl ecosphere. If you really want to know some
of the lower level stuff, Programming Perl is a good ( although a little
long!) read too. Mastering Perl by Brian has a new version out, with a
few advanced sections, but I have not personally read it (
On 03/30/2015 11:42 AM, rakesh sharma wrote:
Hi all
Please suggest nice books to know perl interpreter. In depth books is that i am
looking for.
Thanks
Rakesh
Perl guts can be nice:
http://cpansearch.perl.org/src/RURBAN/illguts-0.49/index.html
http://perldoc.perl.org/perlguts.html
--Sam
to see all your design mistakes later on. The
point is, just start somewhere and keep working on it :)
--Sam
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
Take note at least on rehl, you have to run 'yum install perl perl-core'
to get a full working perl (If I remember right).
--Sam
On 10/09/2014 04:11 AM, Benjamin Fernandis wrote:
Hi Shlomi,
Thanks. I also feel that centos/rhel perl seems brokern in terms of
dependencies issue
pment Tools"
If you are on a debian based system try running:
aptitude install build-essential
--Sam
On 10/04/2014 11:39 PM, Benjamin Fernandis wrote:
Hi Mike,
Thanks for your kind response. I tried cpanm instead of cpan, but many
times, it does not install require dependencies for mo
| SCSA
+91-9703206361
Every task has a unpleasant side .. But you must focus on the end result
you are producing.
If you are just looking for a REPL, look at:
https://metacpan.org/pod/Devel::REPL
Just install with cpan or cpan-minus
--Sam
--
To unsubscribe, e-mail: beginners-unsubscr
buttons)
--Sam
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
create new process for client
my $pid = fork();
if($pid == 0){
processClient($client);
}
else{
close($client);
waitpid(-1,WNOHANG);
}
}
--Sam
--
To unsubscribe, e-mail: beginners-unsubscr...@per
it installed flawlessly.
Thank you for your reply
Chris
Can you post those changes or a link to the mailing list? It might be
wise for someone to update the module
--Sam
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
lso note on redhat, they did weird stuff with system perl. The "perl"
package on redhat will give you nothing more than /usr/bin/perl
For the default modules (perhaps YAML?) that are supposed to be
distributed with perl, install perl-core
--Sam
--
To unsubscribe, e-mail: beginne
ve off the directory parameters for
'/opt/perl-5.20.0/'. Everything will default into ~/perl5
--Sam
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
On 07/04/2014 12:41 AM, Shaji Kalidasan wrote:
Here's one way to do it
print << "BUTTON";
http://www.example.com')">
BUTTON
or:
print qq{http://www.example.com')">};
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://l
Depends on your level. I enjoyed "Beginning Perl" by Curtis Poe. It
covers alot of areas in perl, from the different object frameworks to a
really nice section on testing.
If you really want to get serious, get a copy of the larger "Programming
Perl" as well.
--Sam
On
g up the "Beginning Perl"
book by Curtis Poe :)
--Sam
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
e because I had
read that book.
Sam
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
On 02/05/2014 04:30 PM, kavita kulkarni wrote:
Can somebody suggest me good book to learn/practice object oriented Perl
programming.
Regards,
Kavita :-)
Beginning Perl by Curtis Poe is a really good read. Also there are many
tutorials for perl moose online.
Sam
--
To unsubscribe, e
Hey,
I am trying to add an with :
item title>
http://example.com/1
* sam*
Here is perl code:
=8<=
use strict;
use warnings;
use XML::RSS;
my $rss = XML::RSS->new(version => '*2.0*');
$rss->add_module(prefix => 'dc', uri => 'http://pu
Hi Shlomi,
Thanks for your kind reply.
> * Shlomi Fish [2011-03-04 20:37:51 +0200]:
> On Friday 04 Mar 2011 18:47:40 Sam Steingold wrote:
>> 1 How do I compare Class::Struct instances (objects)
>> for equality (or precedence)?
>>
>> E.g.,
>>
>&g
but I would like to preserve the underlying array structure for passing
to Text::CSV functions (I guess I could use "values" for that too).
E.g., I want to be able to write something like
my $mystruct_foo_pos = MyStruct->getpos('foo');
and have $mystruct_foo_pos set to 0.
then
but I would like to preserve the underlying array structure for passing
to Text::CSV functions (I guess I could use "values" for that too).
E.g., I want to be able to write something like
my $mystruct_foo_pos = MyStruct->getpos('foo');
and have $mystruct_foo_pos set to 0.
t
but I would like to preserve the underlying array structure for passing
to Text::CSV functions (I guess I could use "values" for that too).
E.g., I want to be able to write something like
my $mystruct_foo_pos = MyStruct->getpos('foo');
and have $mystruct_foo_pos set to 0.
t
dev/urandom of=ranfile bs=
Sam
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
27;t
know how to pass RegEx matches strings to value of another variable.
Any hints, examples?
Thanks,
Sam
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
How do you use column_info with DBD::SQLite? Any set of parameters I
use result in getting back undef. All of the following commands return
undef but $DBI::err remains false:
$info = $dbh->column_info('%', '%', '%', '%');
$info = $dbh->column_info('%', '%', 'mytable', '%');
Hello everyone! This is my first time posting anywhere about perl, so
be gentle. Let me start off with my script:
#!/usr/local/bin/perl
#Author: Sam Ganim 10/26/07
print "What Lesson are you on? ";
chop($lesson = );
print "How many exercises are there? ";
chop($exercises =
butes. Im looking to find "size" and "create date/time".
Could someone point me in a good direction so I can read into further?
I appreciate the help,
Sam
B.C.
> Canada )
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
Try perl-expressi found it has many useful features.
www.perl-express.
Hi,
I am trying to write a script that can take log files in /var/log to a
different directory (/opt/backup) every week.
Each week it has to deposit the logs on a seperate directory with proper dates
Can anyone has a script for this
Thanks
I have not received any list topics lately, is the list broken?? Or am I ?
Trying to stay cool in New England,
Sam
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
licked on the file within windows.it will
automatically run the perl interpreter to run the script.
Hope that helps.
Regards,
Sam
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
esolved externals
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x460'
Stop.
where num is the exported method which I have written in teh file
SimpleDLL3.cpp
int _stdcall num(int x) {
return x+1;
}
I have written the XSUB in ext2.xs file as shown be
7; : return code '0x460'
Stop.
where num is the exported method which I have written in teh file
SimpleDLL3.cpp
int _stdcall num(int x) {
return x+1;
}
I have written the XSUB in ext2.xs file as shown below:
int
num(x)
int x
Why does it give an error for _num or
ot;Sisyphus" <[EMAIL PROTECTED]>
To: "sam joseph" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>,
Subject: Re: Urgent help in h2xs
Date: Mon, 3 Oct 2005 18:11:33 +1000
- Original Message -
From: "sam joseph" <[EMAIL PROTECTED]>
To
tory at
C:/Perl/lib/ExtUt
ils/MM_Unix.pm line 3079.
and the line 3079 of MM_Unix.pm looks like this :
open(FH,$parsefile) or die "Could not open '$parsefile': $!";
Anyone knowing why such kind of an error message is coming ???
From: "sam joseph" <[EMAIL P
some precious time in searching
information in this area.
Thanks,
Sam.
I
From: Xiaofang Zhou <[EMAIL PROTECTED]>
To: sam joseph <[EMAIL PROTECTED]>, beginners@perl.org
Subject: Re: Urgent help in h2xs
Date: Sun, 2 Oct 2005 11:58:20 +0800
Hi, Sam,
Check what version of VC u'r
types.h not present in sys folder and many other header files missing
Can anyone tell me how can i fix this problem and get teh correct
C:\Perl\lib\CORE\sys\
which contains all the required header files.
Any help will be appreciated.
Thanks,
Sam
Thanks. Was right there in the manual... -Sam
--- "Moon, John" <[EMAIL PROTECTED]> wrote:
> Subject: 'format' puzzle
>
> How can I create a perl 'format' string that begins with a comment (#)?
>
> Eg.
>
> format STDOUT_TOP =
>
How can I create a perl 'format' string that begins with a comment (#)?
Eg.
format STDOUT_TOP =
# Field1 Field2
@<< @||| @|||
.
If I try '\#' then I see the backslash. I just want the pound char.
TIA,
-Sam
__
or_sheetname);
# &validate_one_code($acct_or_sheetname);
}
else {
$return_this = &validate_spreadsheet ($acct_or_sheetname,$columns);
# &validate_spreadsheet($acct_or_sheetname,$columns);
}
Thanks,
Sam
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
On Thu, 11 Mar 2004 11:07:24 +0100, Ralf Schaa <[EMAIL PROTECTED]>
wrote:
sam lehman wrote:
i got his code from a program i found, and i was wondering that the ?
and the : are for?
$target = (@digits % 2) ? ($digits[int(@digits/2)]) :
([EMAIL PROTECTED]/2-1]);
conditional statement
i got his code from a program i found, and i was wondering that the ? and
the : are for?
$target = (@digits % 2) ? ($digits[int(@digits/2)]) :
([EMAIL PROTECTED]/2-1]);
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
Thank you very much, Daniel!
--Sam
Daniel Staal wrote:
> --As off Tuesday, February 3, 2004 10:09 AM -0700, Sam Masiello is
> alleged to have said:
>
>> I have a script where I am sending some data over a socket, but after
>> X seconds I want the operation to time out.
am trying to allot for a
hang in the middle of the connection.
Thank you in advance for any suggestions!
--Sam
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
--- Rob Dixon <[EMAIL PROTECTED]> wrote:
> Sam wrote:
> >
> > Thanks for all your responses; I learned a bit.
>
> Good: well done.
>
> > 1. I wasn't clear on $_ in my email; that's being read elsewhere in
> program so
> > it's alre
n not &$re; };
my $expr = $blank ? $re : $nre;
do ... while (&$expr and not eof);
But I'm not sure which is faster though.
Thanks for all your help.
--- Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> wrote:
> On Jan 27, Rob Dixon said:
>
> >Sam wrote:
> >>
search google for "Webmon".
also check out phpadmin.
good luck
Sam Harris,
Systems Administrator
Franklin University
201 S. Grant Avenue
Columbus, Ohio 43215-5399
Work: (614)-744-8322
Toll free: 1-877-341-6300 ext. 8322
[EMAIL PROTECTED]
http://www.franklin.edu/
>>> [EMAIL
I am trying to extract last month's date from today's date as in "Jan" or "Feb"is
there a switch to enable that ?
Thanks
Sam Harris,
Internet Services
Franklin University
201 S. Grant Avenue
Columbus, Ohio 43215-5399
Work: (614)-744-8322
Toll free: 1
To all you perl gurus out there...
I've got this file named schedule.pl...in the interest of
troubleshooting my problem, I've thinned
my script to the following code...
#!/usr/bin/perl
print "\n";
print "\n";
print "Perl Test Page\n";
print "\n";
print "\n";
print "Perl Test Page\
The way how it is in my code is on one line, the slash at the end has to
be there on unix command line for it to work !!???
so the line is :
system"find . -ctime -1 -exec cp {}
/opt/WWW/web_stats/logs/daily/newfiles \";
Sam Harris,
Internet Services
Franklin University
201 S. Gr
nks for your help in advance.
Sam Harris,
Internet Services
Franklin University
201 S. Grant Avenue
Columbus, Ohio 43215-5399
Work: (614)-744-8322
Toll free: 1-877-341-6300 ext. 8322
[EMAIL PROTECTED]
http://www.franklin.edu/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
I m very new to perl, please notice the errors I am including and tell
me how simple it is to correct them :)
I have MD5.pm and Std.pm to be used in a directory above the one where
perl is, my script gives me an error that says
# ./net_watch
../net_watch[2]: use: not found
../net_watch[3]: u
>new->addfile(PASSWD)->hexdigest,"\n";
$md5->addfile(PASSWD);
print $md5->hexdigest."\n";
close(PASSWD);
Sam Harris,
Internet Services
Franklin University
201 S. Grant Avenue
Columbus, Ohio 43215-5399
Work: (614)-744-8322
Toll free: 1-877-341-6300 ext. 8322
[EMAIL PRO
Is it possible to `su - user` and send the password via perl?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hi every one
i'm found the solution for my threads. i've replaced threads by the
select function, unsing vectors as described in the perlfunc manpage.
i obtain sthing like that (see attachement)
thx for your help
sam
--
..________.
| sam &
hi
i wanna know how i could finish a thread that i've just detach.
is there a finish or kill like command ?
thx a lot
sam
--
..____.
| sam <°)(°> mail : [EMAIL PROTECTED]|
| web: /\\//\ www.nova-mag.org - icq
hello
i wanna know if it was possible to catching output in detached threads.
thx a lot
sam
--
...
| sam <°)(°> mail : [EMAIL PROTECTED]|
| web: /\\//\ www.nova-mag.org - icq : 100
you'll find what's wrong.
thx a lot
sam
--
..____.
| sam <°)(°> mail : [EMAIL PROTECTED]|
| web: /\\//\ www.nova-mag.org - icq : 100551837 |
..__\_/\_/.
client.pl
serv
I'm having problem when I try to setup the perl5.00503.
When I run sh Configure, it hangs at the system manual is in /usr/man/man1
Here is error..
Congratulations, your kernel has secure setuid scripts!
No need to emulate SUID scripts since they are secure here.
System manual is in /usr/man/ma
of playing gave me:
perl -ne "/Recipient/ && s/.*:// && print"
Which gave me what I wanted, but is rather unsatisfying (esp to the sedder
in me).
What do other people do? Shouldn't DWIM come into play here?
Sam
65 matches
Mail list logo