On Thu, Jul 14, 2016 at 2:56 PM, Rob McAninch
wrote:
>
>
> On Thu, Jul 14, 2016 at 1:24 PM, Darryl Philip Baker <
> darryl.ba...@northwestern.edu> wrote:
>
>> On Thu, Jul 14, 2016 at 10:50 AM, Darryl Philip Baker <
>> darryl.ba...@northwestern.edu> wrote:
>>
>> While not truly a beginner it feels
On Thu, Jul 14, 2016 at 1:24 PM, Darryl Philip Baker <
darryl.ba...@northwestern.edu> wrote:
> On Thu, Jul 14, 2016 at 10:50 AM, Darryl Philip Baker <
> darryl.ba...@northwestern.edu> wrote:
>
> While not truly a beginner it feels that way after not doing anything
> substantial in Perl in many yea
On Sun, Jul 10, 2016 at 11:36 AM, Simon Reinhardt
wrote:
> Hi,
>
> I'm trying to place Unicode annotations on a JPEG file:
>
> #!/usr/bin/env perl
> use 5.010;
> use warnings;
> use strict;
>
> use Image::Magick;
> use utf8;
>
> my $image = Image::Magick->new();
>
> $image->Read('file.jpg');
>
>
http://www.perlmonks.org/?node_id=892166
Goggle is your friend.
On Thu, Sep 10, 2015 at 1:54 AM, Jitendra B wrote:
> Dear Sir/Madam,
>
> while I try to connect and query some data from bugzilla, I am getting
> following error.
>
> Error:
>
> RPC::XML::Client::send_request: HTTP server error: Ca
Hi - Can anyone help me understand why the following does not produce the
correct future date?
my $exp_date = DateCalc('today', "+$membership_period days");
It works if I use:
my $exp_date = DateCalc('today', "+7 days");
Any help is appreciated !! Eyes have been looking at the screen for a whil
On Tue, Feb 10, 2015 at 5:10 AM, Gary Stainburn <
gary.stainb...@ringways.co.uk> wrote:
> Hi folks,
>
> I'm porting a WWW::Mechanize based program to WWW::Mechanize::Firefox
> because
> the web site I access is now much more Javascript based and maintenance is
> getting to be a nightmare.
>
> Howe
Perhaps you could use: Archive::Extract
#!/usr/bin/perl -w
$| = 1;
BEGIN {open (STDERR, ">>error.txt"); }
print "Content-type: text/html\n\n";
use Archive::Extract;
use CGI::Carp qw/fatalsToBrowser/;
use File::Find;
use Cwd;
my $dir = cwd();
my $time = time;
my $cnt = 0;
my $who ='';
my $ok = ''
Is asking a preference-based question appropriate for a beginners list
appropriate?
Question for you: Have you updated your software to have a more modern look
and feel or does it still resemble 1995?
I ask because, in your own words, you said "or is it simply a styling
difference?".
Feedback for
"TIMTOWTDO" = There is more than one way to do than otherwise (told)
On Wed, Feb 5, 2014 at 7:00 PM, Omega -1911 <1911...@gmail.com> wrote:
> I really think the quoting that you own a resource for beginners is
> outdated. Why should you have to reveal you own a sit
I really think the quoting that you own a resource for beginners is
outdated. Why should you have to reveal you own a site that helps people? I
wish all the Perl guru's would put down their differences and get this list
back to JUST HELPING PEOPLE... If "TIMTOWTDO" is a TRUE concept, WHY are
there
On Sat, Feb 1, 2014 at 4:57 AM, Shlomi Fish wrote:
> Hi Omega,
>
> On Sat, 1 Feb 2014 03:40:01 -0500
> Omega -1911 <1911...@gmail.com> wrote:
>
> > Hello List: I am trying to go through a folder of php scripts to add a
> > database prefix to lines that have a sel
Hello List: I am trying to go through a folder of php scripts to add a
database prefix to lines that have a select statement. Since the database
prefix will differ, I am simply trying to add:
".$database_prefix."
to those lines. For example, instead of the line looking like: $sql =
"SELECT * FROM
with a solution that permanently allows me to do my own backups in
the future! Thanks again.
On Mon, Jul 22, 2013 at 9:52 PM, Michael Brader wrote:
>
> On 07/23/2013 11:08 AM, Omega -1911 wrote:
>
>> Rob - Thanks for the tip. I am not familiar with the module (XML::XPath)
>> b
Hello all - I am working on a small address book conversion where I need to
convert a text file in where I dumped the addresses and post them to my
database/website using the Mechanize module. My problem is I am trying to
parse the data using the following code that is not working. Can anyone
shed
Sales pitch? :)
On Fri, May 18, 2012 at 5:07 AM, Rob Dixon wrote:
> On 18/05/2012 02:09, Omega -1911 wrote:
>>
>> On Thu, May 17, 2012 at 7:58 PM, jbiskofski wrote:
>>>
>>> On Thu, May 17, 2012 at 6:46 PM, Omega -1911<1911...@gmail.com> wrote:
>>>>
>>
3
>
> cheers.
>
> - Jose from Mexico
>
>
>
>
> On Thu, May 17, 2012 at 6:46 PM, Omega -1911 <1911...@gmail.com> wrote:
>>
>> Hello all -
>>
>> While trying to create a script that generates a graph, I am at a loss
>> for a workable
Hello all -
While trying to create a script that generates a graph, I am at a loss
for a workable solution. What I need to be able to do in the code
below is add the results from the select statement before pushing the
data into an array. For example, the database contains the following
data:
EMP
> There are situations in which PHP, SQL, JavaScript, Lisp, Prolog, C, or
> Forth
> are the best choice.
Yep! It is like saying Perl is the *cure all*
On Thu, Aug 14, 2008 at 11:37 AM, Mike Blezien <[EMAIL PROTECTED]>wrote:
> Hello,
>
> we've been trying to setup MIME::Lite to send email via SMTP but keep
> getting
> the following error:
> -
> SMTP auth() command failed: Incorrect authentication data
> --
On Thu, May 15, 2008 at 3:45 PM, Dr.Ruud <[EMAIL PROTECTED]> wrote:
> It contains a lot of bad advice too.
You have been helpful in the past so please be so kind to point out
the *bad Advice*... Just saying it's bad really helps no one on a
"beginners" list. The way I see it, people will read that
On Feb 4, 2008 10:05 PM, <[EMAIL PROTECTED]> wrote:
> Hi
>
> i am not able to declare hases
>
> first i tried this
>
> *
> use strict
> my %familyname;
> $familyname{"mark"}="antony";
>
> and i get an error "Global symbol
I got a kick out of Randal's comment "I helped build this internet."
QUESTION FOR RANDAL: What about the many other (million+ developers)
on this island, Gilligan?
And I used to love your articles in various mags... Thank God for the
many others that are *really* here to help on this list. You ca
> --
Oh hell, why doesn't *the great one* create a regex to remove
contiguous lines that contain *certain* words on his end? Oh my fault,
this list is his kingdom... Perl's excellent for text manipulation.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
> which isn't an equivalent to yours - it simply makes sure that the
> record contains 'Powerball:' and at least one digit - but I'm sure it is
> adequate. My own solution didn't even do this much checking, since I
> read the OP as saying that all irrelevant data records had been removed.
I appre
Thanks Rob,
Is this homework? Not hardly! I was sitting here the other day and the
thought came to mind as our state lottery has not had a winner in over
a year. (The public started thinking that there is a conspiracy
because it was exactly a year ago that our state went to computer
generated lott
Thank you both Dr.Ruud & Jonathan Lang. I will give both examples a
try later today and let you know how it all turns out.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Thank you both Dr.Ruud & Jonathan Lang. I will give both examples a
try later today and let you know how it all turns out.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hello,
Can anyone assist with a regex to pull lottery numbers from a page?
The following is one example I have tried:
All data from the web page is pushed into an array. ( Header and
footer info is removed before being pushed into the array.) The entire
goal here is an exercise I was playing with
Hello,
Can anyone assist with a regex to pull lottery numbers from a page?
The following is one example I have tried:
All data from the web page is pushed into an array. ( Header and
footer info is removed before being pushed into the array.) The entire
goal here is an exercise I was playing with
Why not hire a PR firm instead of filling up everyone's inbox with
off-topic discussion?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
1. ^([a-zA-Z0-9_\-\.]+)@
Can contain a group of letters (case insensitive) or numbers (0-9), a
period, underscore, hyphen and the @ sign is required.
2. ([a-zA-Z0-9_\-\.]+)\.
Can contain a group of letters (case insensitive) or numbers (0-9), a
period, hyphen, underscore and end with a period.
3.
On 8/31/07, Somu <[EMAIL PROTECTED]> wrote:
> use strict;
> use warnings;
> use File::Find;
> sub rm();
> my $count=0;
> my @dir = ("F://Hindi/RHTDM");
> find(&rm,@dir);
>
> sub rm(){$count++
> my ($fname)= $_;
> if($fname=~ /mp3/){print "$count $fname"}
> }
PLEASE!!! Before coming to this list an
On 8/31/07, Somu <[EMAIL PROTECTED]> wrote:
> It gave the error
>
> Use of uninitialized value in pattern match (m//) at test.pl line 13.
> Can't use string ("") as a subroutine ref while "strict refs" in use
> at C:/Perl/lib/File/Find.pm line 822.
On 8/28/07, Randal L. Schwartz <[EMAIL PROTECTED]> wrote:
> > "Somu" == Somu <[EMAIL PROTECTED]> writes:
>
> Somu> Good sense of humour! Actually i wanted to search for F:/Hindi/RHTDM
> Somu> and i entered only /Hindi/RHTDM/
>
> Why did you do that? I think you have to enter the full path on
On 4/15/07, Mário Gamito <[EMAIL PROTECTED]> wrote:
Hi,
I have this site that auto generates an index.html file every 15 minutes
(it's a blog aggregator).
I need that every time the file is generated, all the contents between
the lines
http://domain.com/2006/08/bourne-shell.html";>Bourne Shell
Before you asked us, you CERTAINLY did a search of CPAN for JPEG and
Info, right? How did Image::MetaData::JPEG fail to meet your needs?
It's huge, it's complicated, and the documentation is hard to read,
but Image Magick (which comes with perl bindings) can do anything with
an image that can
On 12/7/06, Moon, John <[EMAIL PROTECTED]> wrote:
Can someone please give me the octal values or a method of removing ^M
from the end of an input line, if present?
Try this:
$input =~ s/\cM//g;
Hi Rob & Dani,
Thanks for your help!!! I will try the suggestion you made Rob and as soon
as I finish typing this, I'll try Dani's code. I had someone by the name of
Chen Ken contact me off-list and provided me with the following regex that
appeared to work. Please let me know what you think:
my
Hello all,
I am trying to parse calendar events for a rss feed into variables. Can
someone help with building the following regex or point me in the direction
of some good examples? Thanks in advance.
Here is what I have tried: (I don't know much about complex regex's as you
see)
$mystring =~ /
On 11/29/06, Ravi Malghan <[EMAIL PROTECTED]> wrote:
Hi: I have a variable called $agent_id and want to create a string with
the value of $agent_id followed by "-str". The following does not seem to
work.
The following example I want to create a variable called $35-str.
$agent_id = 25;
$agent_i
If it will not install using those methods and time is of the essence,just
manually download the .pm files and place them in the apropriate folder
(inside your perl folder i.g. C:\Perl\lib)
On 11/16/06, Anushya Ganapathy <[EMAIL PROTECTED]> wrote:
Hi,
I am in the very critical situation while
On 10/25/06, Ron Goral <[EMAIL PROTECTED]> wrote:
Explains why my gmail account has over 700 spam messages (from the
last 30 days...) Gmail has done a good job in spotting them, but
something should be done about the archive.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
On 10/24/06, Brian <[EMAIL PROTECTED]> wrote:
I'm wondering if someone can do me an enormous favour and write a cgi
for me please, I just can't get my head around the books I have,
Sounds like a homework assignment...
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Hi,
I'm a C programmer teaching myself Perl. I'm working on Windows XP using
ActivePerl and Eclipse (EPIC).
I've got a question about $| = 1;
Hello to you as well.
To answer your question from above, the $| = 1; is
simply a method to prevent Perl from buffering and to go ahead and
output da
On 10/18/06, Robert Hicks <[EMAIL PROTECTED]> wrote:
I have this as an option field:
Business Objects Support
Is the "value" what gets passed back? In this case "5"?
The associated *name* and *value* are passed on to the Perl script if
you are pointing your form to a Perl script. For example
On 10/17/06, Robert Hicks <[EMAIL PROTECTED]> wrote:
What is the best "Perl" way to migrate?
Honestly, in Perl, the saying is "There is more than one way to do it"
but without your showing what you have tried, then the "best" way to
try is by writing code. I believe that is why no one has offe
tr/Robin Norwood redundant replies//g;
On 8/26/06, Robin Norwood <[EMAIL PROTECTED]> wrote:
jobst müller <[EMAIL PROTECTED]> writes:
> hello dear Perl-addicted,
>
> to admit - i am a Perl-novice and ihave not so much experience in perl. But i
am willing to learn. i want to learn perl. As for
Hello,
I recently decided to host a site on one of my machines (Win XP,
Active State 5.8.8) for testing a couple of scripts since my host
objects to installing a few modules. Anyway, can someone explain why
the following code will create directories and the the code below it
will not (keep gettin
On 7/13/06, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote:
I thought about this; then I thought about this; and then I thought
about this.
Randal L. Schwartz wrote:
>>"Shawn" == "Mr Shawn H Corey" <[EMAIL PROTECTED]> writes:
>
>
> Shawn> Not everyone who reads this mailing list posts to it.
Hey gang!
I am trying to update a script so that it is not so resource (CPU) intensive.
Background:
1. The script has to open a rather large number of files (100,000).
2. Instead of opening all of them, I am trying to only open those files
where the file was actually MODIFIED not just accessed
On 6/23/06, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote:
On Fri, 2006-23-06 at 11:55 +, Jeff Peng wrote:
> >
> >Let's see, the subject is: reading a line at a time inefficient?
> >
> >That's where I got the idea.
> >
> >
> No,the subject is "Re: reading a line at a time inefficient? ",he ha
On 6/23/06, Jeff Peng <[EMAIL PROTECTED]> wrote:
>Thanks for the reply Jeff, but what I need to do is assign variables
based
>on the first 5 lines and then push the remaining lines of the file into
an
>array. Any suggestions?
>
Anyway,reading all the contents of a large file to an array should
On 6/23/06, Jeff Peng <[EMAIL PROTECTED]> wrote:
Hello,
Reading a file which is large as 900M to the array,should consume memory
too
quickly.
Could you open a file and obtain the file-handle in your subroutine,then
return the file-handle to the caller?For example:
sub your_sub{
ope
Hello list!
I am attempting to lower the memory load on the server that the following
lines of code creates. Is there any way to speed up this process and lower
memory usage? I read through FILE::SLURP documentation but not sure if that
would help as I need to keep the array @remaining_file_lines
On 5/2/06, Dr.Ruud <[EMAIL PROTECTED]> wrote:
(Randal L. Schwartz) schreef:
> If you want to do duplicate rejection, please note that every message
> contains a message-id that is unique per message. I reject
> duplicates via procmail. You can do the same.
I prefer to filter out the author's
Your best bet is to use a cron job for this. Otherwise, you'd waste server
resources. What happens when the process is killed or the server restarted?
On 4/3/06, James Turnbull <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> Anyone know of a way to create a loop (or something similar) that
> automatically s
With all the debate going on, let me just say that a perl script was THE
ONLY method that allowed me to change paths in 13,161 files and scripts when
I moved from one provider to another. Try a *one-liner" on multiple files
(13,000+) located in different directories...
With a Perl script, I can ma
It would be lovely if you provided some code to work with. The general theme
on the list is "No Code, No Help"
On 3/13/06, Sonika Sachdeva <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> How to read every new file transfer made from the IIS ftp log file.
> This will be continous file reading process to kno
Proper structure:
if ($...) {} # UNLESS NOT TO BE USED HERE
elsif {}
else {}
JMPO... (Just My Perl Opinion)
On 2/11/06, Ron Smith <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I've got a CGI script that takes two strings and sorts them in order,
> then prints them. The problem is I don't want nul
On 2/5/06, Ron Smith <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I've been looking for this all over, but can't seem to find a link. Is
> there a Perl or PerlScript equivalent to the JavaScript or vbscript on-focus
> function? If there is, could someone please, point me in the right
> direction.
>
In short, you need to declare your variables in your script.
my $OrderFile;
my $referer;
Instead of just "defining" your variable (example below)
$referer = "something"; # TAINTED DATA
On 1/12/06, Gerald Wheeler <[EMAIL PROTECTED]> wrote:
>
> Need a little help... trying to this thing right.
On 11/16/05, S, karthik (IE03x) <[EMAIL PROTECTED]> wrote:
>
>
>
> I know that there are many template systems and modules available to
> implement it. I have experienced using sessions. That was easy too. But
> cookies behave differently. I need to understand the behavioral issues in
> cookies.
>
I am still trying to grasp using case statements...Since I am new to
this, I had a question as to the speed of using CASE. I currently have
a script that has 91 if/elsif/else statements in total. Will switching
to using CASE improve the execution of the script?
On 6/11/05, Chris Devers <[EMAIL PRO
64 matches
Mail list logo