Re: A Regular Expression Problem in Perl 5.28

2023-03-28 Thread Sam
stakes 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/

Re: use Time::Piece

2018-10-31 Thread Sam
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( /\,+/,

Re: Strange HASH(0x2ced735) values

2017-02-21 Thread Sam
s to appear on demand either... --Sam -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Perl executable problem...

2015-11-13 Thread Sam
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 when I run

Re: Regarding perl learning

2015-07-02 Thread Sam
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-mail

Re: perl certification

2015-05-20 Thread Sam
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/

Re: Need Advice on Perl learning

2015-04-12 Thread Sam
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 (yet). --Sam

Re: Good books to study perl interpreter

2015-03-31 Thread Sam
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

Re: Yet another first website

2014-11-08 Thread Sam
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/

Re: Best way to install perl modules

2014-10-09 Thread Sam
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 issues and some

Re: Best way to install perl modules

2014-10-04 Thread Sam
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 module. For example

Re: Any project like Ipython/Bpython in Perl.

2014-09-15 Thread Sam
| 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

Re: Books or links or knowledge base

2014-09-13 Thread Sam
buttons) --Sam -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: async, non blocking tcp server

2014-08-28 Thread Sam
){ processClient($client); } else{ close($client); waitpid(-1,WNOHANG); } } --Sam -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Problem installing a module

2014-07-23 Thread Sam
. 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/

Re: How to Upgrade Perl to latest Stable Version.

2014-07-08 Thread Sam
the same except leave 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/

Re: Impossible to install Perl modules

2014-07-08 Thread Sam
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: beginners-unsubscr...@perl.org

Re: Perl CGI-html quotation marks

2014-07-04 Thread Sam
On 07/04/2014 12:41 AM, Shaji Kalidasan wrote: Here's one way to do it print BUTTON; input type=button value=Open Window onclick=window.open('http://www.example.com') BUTTON or: print qq{input type=button value=Open Window onclick=window.open('http://www.example.com')}; -- To

Re: Planning to buy Hard Copy Book

2014-06-11 Thread Sam
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 06/11/2014 05:23 AM

Re: References

2014-05-14 Thread Sam
:) --Sam -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: OO perl programming

2014-02-06 Thread Sam
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/

Re: OO perl programming

2014-02-05 Thread Sam
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

dc:creator for rss 2.0?

2013-01-22 Thread Sam Lee
://purl.org/dc/elements/1.1/'); $rss-channel(title = 'title', link = 'http://exmaple.com', description = 'description'); $rss-add_item(title = 'item title', link = 'http://example.com/1', dc = {creator = 'sam'} ); print $rss-as_string; =8= It doesn't add dc:creator element. item titleitem

Re: Class::Struct comparison MOP

2011-03-07 Thread Sam Steingold
Hi Shlomi, Thanks for your kind reply. * Shlomi Fish fuyb...@vtyh.bet.vy [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., use Class::Struct MyStruct = [foo

Class::Struct comparison MOP

2011-03-04 Thread Sam Steingold
to be able to write something like my $mystruct_foo_pos = MyStruct-getpos('foo'); and have $mystruct_foo_pos set to 0. then I will be able to write my MyStruct $a = MyStruct-new(...); $a[$mystruct_foo_pos] = a; Thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final) X

Class::Struct comparison MOP

2011-03-04 Thread Sam Steingold
to be able to write something like my $mystruct_foo_pos = MyStruct-getpos('foo'); and have $mystruct_foo_pos set to 0. then I will be able to write my MyStruct $a = MyStruct-new(...); $a[$mystruct_foo_pos] = a; Thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final) X

Class::Struct comparison MOP

2011-03-04 Thread Sam Steingold
to be able to write something like my $mystruct_foo_pos = MyStruct-getpos('foo'); and have $mystruct_foo_pos set to 0. then I will be able to write my MyStruct $a = MyStruct-new(...); $a[$mystruct_foo_pos] = a; Thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final) X

Re: Getting garbage fast

2010-03-23 Thread Sam
/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/

How to read RegEx match in to a variable?

2009-06-12 Thread Sam Munzani
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/

DBD::SQLite and column_info

2008-09-03 Thread sam . paquin
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', '%');

umask

2007-10-27 Thread sam
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 = STDIN); print How many exercises are there? ; chop($exercises = STDIN); #print What

obtaining file properties

2007-07-14 Thread Sam DeForest
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

RE: Free Perl Editor

2007-01-02 Thread Sam DeForest
] 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.com hth -sam -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

Help with rotating logs

2006-08-31 Thread binu sam
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

List OK?

2006-07-31 Thread Sam DeForest
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

RE: calling a perl script on windows

2006-07-12 Thread Sam DeForest
that will enable you to run any perl script from the command line without calling perl firstie. you can just type foo.pl and it will run. And likewise if you clicked on the file within windows.it will automatically run the perl interpreter to run the script. Hope that helps. Regards, Sam

using XS for calling exported methods from a DLL

2005-10-14 Thread sam joseph
for _num or for that matter any exported function name. Any help would be greatly appreciated. Thanks, Sam. _ A Camera Sells every 2 Minutes on eBay.Get Your's at a Great Price Now! http://adfarm.mediaplex.com/ad/ck/4686-26272-10936-699

calling C DLL from Perl using h2xs

2005-10-13 Thread sam joseph
be greatly appreciated. Thanks, Sam. _ Spice up your IM conversations. New colourful, animated emoticons. Go chatting! http://server1.msn.co.in/SP05/emoticons/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

FW: Re: Urgent help in h2xs

2005-10-03 Thread sam joseph
says the makefile is up-to-date What is to be done next In the documents i find the make install step but there is no makefile created by the name install. And also there is no blilb folder created which gets creted if a ifollow these steps on cmd. From: Sisyphus [EMAIL PROTECTED] To: sam

Re: Urgent help in h2xs

2005-10-02 Thread sam joseph
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 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're

FW: Re: Urgent help in h2xs

2005-10-02 Thread sam joseph
:/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 PROTECTED] To: [EMAIL PROTECTED], beginners

Urgent help in h2xs

2005-10-01 Thread sam joseph
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

RE: 'format' puzzle

2005-04-14 Thread 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 = # Field1 Field2 @ @||| @||| . If I try '\#' then I see

'format' puzzle

2005-04-13 Thread Sam
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 __ Do you Yahoo!? Yahoo

Trouble Calling Modules...

2005-01-06 Thread Sam Pinizzotto
{ $return_this = validate_spreadsheet ($acct_or_sheetname,$columns); # validate_spreadsheet($acct_or_sheetname,$columns); } Thanks, Sam -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: can somebody tell me what this means

2004-03-12 Thread sam lehman
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

can somebody tell me what this means

2004-03-11 Thread sam lehman
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

Timing out without alarm function

2004-02-03 Thread Sam Masiello
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

RE: Timing out without alarm function

2004-02-03 Thread Sam Masiello
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. I am currently using alarm

Re: [Q] How to eval an EXPR once and make it stick

2004-01-28 Thread Sam
... 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: sub print_lines_ok { my ($output, $blank_lines) = @_; if ($blank_lines) { do

Re: [Q] How to eval an EXPR once and make it stick

2004-01-28 Thread Sam
--- 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 already set by the time print_lines is called. You /mustn't/ use $_ like

Re: Generic database access?

2003-09-29 Thread Sam Harris
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 PROTECTED] 09/29/03 09:56

very novice date question

2003-02-11 Thread Sam Harris
I am trying to extract last month's date from today's date as in Jan or Febis 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-877-341-6300 ext. 8322 [EMAIL PROTECTED

web server 500 error

2003-02-04 Thread Sam Mauntz
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 HTML\n; print HEAD\n; print TITLEPerl Test Page/TITLE\n; print /HEAD\n; print BODY\n;

error with external command

2002-12-12 Thread Sam Harris
. 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 commands, e-mail: [EMAIL PROTECTED]

Re: error with external command..explained

2002-12-12 Thread Sam Harris
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 : systemfind . -ctime -1 -exec cp {} /opt/WWW/web_stats/logs/daily/newfiles \; Sam Harris, Internet Services Franklin University 201 S. Grant Avenue

a very novice file location

2002-12-05 Thread Sam Harris
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]:

need help with a bug

2002-11-19 Thread Sam Harris
; $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 PROTECTED] http://www.franklin.edu/ -- To unsubscribe, e-mail: [EMAIL

Changing unix user account using perl?

2002-09-06 Thread Sam Graves
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]

A curious Bad request errorh

2001-12-17 Thread Sam Hubish
this problem? Dose anybody have any Idea what the problem could be? Thanks in advance, Sam Hubish passme

A curious Bad request error

2001-12-15 Thread Sam Hubish
the problem could be? Thanks in advance, Sam Hubish

particular CGI (same message as 'no subject' from me)

2001-11-25 Thread sam x lehmer
I am developing a community calendar for a local youth group. I want to be able to enter information into my 'calendar' web page; and have that information be saved in a file for later retrieval and placement into the 'calendar' web page. Is there a CGI script available that will write input

thx for your help

2001-11-03 Thread Petazzoni Maxime aka sam
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 °)(° mail

thread problems

2001-11-02 Thread Petazzoni Maxime aka sam
. thx a lot sam -- ... | sam °)(° mail : [EMAIL PROTECTED]| | web: /\\//\ www.nova-mag.org - icq : 100551837 | ..__\_/\_/. client.pl server.pl -- To unsubscribe, e-mail: [EMAIL

finishing a thread

2001-11-02 Thread Petazzoni Maxime aka 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 : 100551837