RE: perl graphics editing

2002-07-18 Thread Naika - EV1

Unless you are just trying to do it in one click, you can create an action
in Photoshop that you can use on each image.

- Naika
  http://naikaonline.com

-Original Message-
From: David Gerler [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 1:35 PM
To: Matt Simonsen; Beginners
Subject: RE: perl graphics editing


Thanks to all that gave the info. Seems that ImageMagik is the winner hands
down. :-)

David Gerler
Gerler Enterprises
PO BOX 16357
Chesapeake VA 23328
http://www.GerlerEnterprises.com/

Nationwide Dial-up from $12.45
http://www.EasySitesForLess.com/

-Original Message-
From: Matt Simonsen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 4:22 PM
To: David Gerler; Beginners
Subject: Re: perl graphics editing


This isn't a Perl solution (unless you run it from a perl script...) but
it'll work. Use mogrify, part of the imagemagic software suite one
command will do the whole trick.

Matt

On Thu, 2002-07-18 at 11:56, David Gerler wrote:
> Hi,
>   I have searched cpan using ppm looking for a package to use. I would like
> to write a script to edit the size of jpg's. Is there a package out there
or
> even a script out there that will help me with this?
>
>   I have about 2500 images that I need to resize to make them thumbs.
That'll
> take a long time unless I can automate it somehow.
>   Size attributes are not an option, because of the software I am dealing
> with.
>
>   Any helpful hints in the right direction will be helpful.
>
> David Gerler
> Gerler Enterprises
> PO BOX 16357
> Chesapeake VA 23328
> http://www.GerlerEnterprises.com/
>
> Nationwide Dial-up from $12.45
> http://www.EasySitesForLess.com/
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>





--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: kung foo

2002-03-15 Thread Naika - EV1

Months you say? hehehe I don' think I'll ever get out of it.

- naika
  http://www.naikaonline.com

-Original Message-
From: crash [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 15, 2002 3:49 PM
To: [EMAIL PROTECTED]
Subject: kung foo


when studying PERL, how many months does it generally
take to get past the "baby talk" stage?

any estimates?

__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Environment Variables help

2002-03-02 Thread Naika - EV1

Can anyone help with this? On a script that is writing to a file I'm able to
get some of the variables but not others. Why?



$ipaddress = "$ENV{'REMOTE_ADDR'}";
## Works Fine

$where_from = "$ENV{'HTTP_REFERER'}";
## only seems to report the current page being viewed

$host = "$ENV{'REMOTE_HOST'}";
### Not working

$server = "$ENV{'SERVER_NAME'}";
### Not working

$user = "$ENV{'REMOTE_USER'}";
### Not working

$serveraddrs = "$ENV{'SERVER_ADDR'}";
### Not working

$serveradmin = "$ENV{'SERVER_ADMIN'}";
### Not working

$servername = "$ENV{'SERVER_NAME'}";
### Not working

if ($ipaddress =~ /$yourip/) {
}
else {
 open (LOG, ">>$logfile");
 print LOG " $ENV{'REMOTE_HOST'} -
$ENV{'HTTP_USER_AGENT'} -$ENV{'SERVER_NAME'} - $FULLDATE -
$ENV{'HTTP_REFERER'} - $user - $server - $serveraddrs - $serveradmin -
$servername \n";
 close (LOG);

Thanks

 - Naika
   http://www.naikaonline.com



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




CGI-Perl list

2002-02-26 Thread Naika - EV1

Can someone direct me to the cgi-perl list for beginners? I'm trying to find
it but am unable. If anyone has the subscribe headers for it that will do as
well, thanks.

- naika
  http://www.naikaonline.com
  http://www.triocollective.com




Writing to a file

2002-02-15 Thread Naika - EV1

I'm trying to write to a file from a 5 choice radio form and I keep getting
this error
Undefined subroutine &main::param called at pollresults_rg.pl line 5.
What does that mean?

My code is:
#!/usr/bin/perl -w

use CGI::Carp qw(fatalsToBrowser);

@picks = param("radiobutton");

#write to a file

open(RESULTS, ">>results.txt");
 print RESULTS "@picks";
 close RESULTS;

Thanks
-Naika
 http://www.naikaonline.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Help me out

2002-02-14 Thread Naika - EV1

Yeah I can honestly say I learn more from analysing other peoples code. I
notice some mistakes in books and sometimes that really confuses me. After
about 2 years of reading and studying I can now read, understand and
manipulate other peoples code but I have yet to write my own from scratch
(asides from hello.pl), something I aim to do. Maybe its just fear or the
fact, like you say, most are already written and out there.

Thanks for the help.

- Naika
  http://www.naikaonline.com

-Original Message-
From: Nikola Janceski [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 2:04 PM
To: 'Naika - EV1'
Subject: RE: Help me out


If you learn by seeing then look at other people's code to learn.
Correct their mistakes, make the code more efficient and easier to
read/understand.
I learned Perl 3 years ago and that was with Perl4. I didn't really learn
perl until I started having to look at other people's code (even some of the
core perl code and modules). I have to say for 2 years I was still a
beginner and only in this last year when I started to look at my own code
again did realize that I was an imbicil (sp?) perl when I thought I was
getting good. My code was hard to read and harder to understand why I wrote
something the way I did (little or no comments in my code) so I ended up
rewriting everything, and learning that someone (most of the time) wrote a
module that does what I wanted.

Search on search.cpan.org for modules, and use perldoc to find the module
you might use!
Believe me... the only way to learn is trial and error, you start to get
better at not repeating bad habits (no comments, 80 lines of code that could
have been 10 subroutines, bad bad pattern matching).

Ask people for some of there old code and try to rewrite it or add more
functionality to it. I started learning perl for formatting files into a
prettier layout, but realized that there is sooo much more.

-Original Message-
From: Naika - EV1 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 6:48 PM
To: Yacketta, Ronald; [EMAIL PROTECTED]
Subject: RE: Help me out


Yeah I agree, I owe about 5 perl books and have read them all but still find
it difficult to code the most basic of things. I wish there were more step
by step how to's out there. I'm documenting my progress and plan to do a
site sometime that caters to the most uneducated of learners. If any sites
like that exist already let me know. Sometimes I learn better from seeing,
being on the artistic side of the mind.

- Naika
  http://www.naikaonline.com



-Original Message-
From: Yacketta, Ronald [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 8:50 AM
To: [EMAIL PROTECTED]
Subject: RE: Help me out


its that simple? WoW! I must have fubarbed somewhere, I have those books as
well as several others and hell I am not even close to be a pro!/me dreams
about the day I can be a perl gawd like Randel (spelling)

-Ron

> -Original Message-
> From: Matthew Peter Lyon [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 14, 2002 11:49
> To: amrinder singh; [EMAIL PROTECTED]
> Subject: Re: Help me out
>
>
> get the O'Riley learning perl book
> get the black book
> get the cookbook ( O'Riley )
>
> you'll be a pro.
>
> - Original Message -
> From: "amrinder singh" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 14, 2002 12:24 PM
> Subject: Help me out
>
>
> > I have just started learning perl a day ago.
> >
> > Can anybody guide me on how to start?  I am really
> interested in learning
> > the language
> >
> >
> > AMRINDER
> >
> >
> > _
> > Join the world's largest e-mail service with MSN Hotmail.
> > http://www.hotmail.com
> >
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Help me out

2002-02-14 Thread Naika - EV1

Yeah I agree, I owe about 5 perl books and have read them all but still find
it difficult to code the most basic of things. I wish there were more step
by step how to's out there. I'm documenting my progress and plan to do a
site sometime that caters to the most uneducated of learners. If any sites
like that exist already let me know. Sometimes I learn better from seeing,
being on the artistic side of the mind.

- Naika
  http://www.naikaonline.com



-Original Message-
From: Yacketta, Ronald [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 8:50 AM
To: [EMAIL PROTECTED]
Subject: RE: Help me out


its that simple? WoW! I must have fubarbed somewhere, I have those books as
well as several others and hell I am not even close to be a pro!/me dreams
about the day I can be a perl gawd like Randel (spelling)

-Ron

> -Original Message-
> From: Matthew Peter Lyon [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 14, 2002 11:49
> To: amrinder singh; [EMAIL PROTECTED]
> Subject: Re: Help me out
>
>
> get the O'Riley learning perl book
> get the black book
> get the cookbook ( O'Riley )
>
> you'll be a pro.
>
> - Original Message -
> From: "amrinder singh" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 14, 2002 12:24 PM
> Subject: Help me out
>
>
> > I have just started learning perl a day ago.
> >
> > Can anybody guide me on how to start?  I am really
> interested in learning
> > the language
> >
> >
> > AMRINDER
> >
> >
> > _
> > Join the world’s largest e-mail service with MSN Hotmail.
> > http://www.hotmail.com
> >
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Form reports

2002-02-12 Thread Naika - EV1

 Bare with me but I'm a beginner and new to this list.

  I need advice on poll results. What should I be researching? I have forms
submitting off websites and I can direct them to email the results but how
do I write them to a file to be redisplayed on a webpage? Actually I know
how to write to a file but how do you get results to read to a webpage?

  Thanks for any help.

  - Naika
http://www.naikaonline.com
http://www.triocollective.com
http://www.realmgothica.com





Form reports

2002-02-08 Thread Naika - EV1


Bare with me but I'm a beginner and new to this list.

I need advice on poll results. What should I be researching? I have forms
submitting off websites and I can direct them to email the results but how
do I write them to a file to be redisplayed on a webpage?

Thanks for any help.

- Naika
  http://www.naikaonline.com
  http://www.triocollective.com
  http://www.realmgothica.com