Re: Syntax help with variable quotes

2006-07-31 Thread Grant
: open(LABEL,">/path/to/the/$file.gif"); This should be working. Perhaps $file does not have in it what you think it does. Since I/O operations should be checked for success anyway, try this. open LABEL, ">/path/to/the/$file.gif" or die qq(Cannot open "/path/to/the/$file.gif": $!); Yup

RE: Syntax help with variable quotes

2006-07-31 Thread Charles K. Clarkson
Grant wrote: : open(LABEL,">/path/to/the/$file.gif"); This should be working. Perhaps $file does not have in it what you think it does. Since I/O operations should be checked for success anyway, try this. open LABEL, ">/path/to/the/$file.gif" or die qq(Cannot open "/path/to/the/$file.gif

Re: Syntax help with variable quotes

2006-07-31 Thread Grant
> Can someone tell me how to turn this line (which works): > > open(LABEL,">/path/to/the/file.gif"); > > into something like this: > > open(LABEL,">/path/to/the/$file.gif"); > > The gif file should be named according to the value of the $file > variable. I never know what to do with quotes in the

Re: Syntax help with variable quotes

2006-07-31 Thread Prabu
Grant wrote: Can someone tell me how to turn this line (which works): open(LABEL,">/path/to/the/file.gif"); into something like this: open(LABEL,">/path/to/the/$file.gif"); The gif file should be named according to the value of the $file variable. I never know what to do with quotes in these

AlphaX+Perl

2006-07-31 Thread Peter Colapietro
Hi I am running Mac OS X Version 10.4.7 on my MacBook Pro. I downloaded Perl 5.8.8 and put it in /library/perl. I am using AlphaX as my texteditor when I code for Perl. I also download Tcl/Tk Aqua Batteries as instructed. I am going through O"reilly's Learning Perl. I created my first code: #

Syntax help with variable quotes

2006-07-31 Thread Grant
Can someone tell me how to turn this line (which works): open(LABEL,">/path/to/the/file.gif"); into something like this: open(LABEL,">/path/to/the/$file.gif"); The gif file should be named according to the value of the $file variable. I never know what to do with quotes in these situations.

Re: Major Applications of Perl

2006-07-31 Thread Mathew Snyder
Ryan Frantz wrote: -Original Message- From: WCJ d/b/a http://ccsh.us/ [mailto:[EMAIL PROTECTED] Sent: Monday, July 31, 2006 8:59 AM To: beginners perl Subject: Re: Major Applications of Perl On 7/31/06, Sastry <[EMAIL PROTECTED]> wrote: Are there any other major applications using P

Re: List OK?

2006-07-31 Thread Tom Phoenix
On 7/31/06, Sam DeForest <[EMAIL PROTECTED]> wrote: I have not received any list topics lately, is the list broken?? Or am I ? You can monitor the list at this URL: http://www.nntp.perl.org/group/perl.beginners/ Hope this helps! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe,

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]

A round up of the perl based CMS

2006-07-31 Thread Sami FANTAR
Hello everyone What are the perl-based CMS used for building a website? Is it possible to have examples of websites using Perl technology? Thanks for your help. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: if clause

2006-07-31 Thread Mumia W.
On 07/31/2006 11:29 AM, Dr. Claus-Peter Becke wrote: Mumia W. schrieb: On 07/31/2006 07:20 AM, Dr. Claus-Peter Becke wrote: dear mumia w, thank for your support. as you supposed the values aren't equal. the subroutine's argument is "1". had databaserequest_noun been interpreted in scalar con

Re: need to return exit code

2006-07-31 Thread Gregory Machin
thanks for the support guys .. have a grate day .. On 7/31/06, Prabu <[EMAIL PROTECTED]> wrote: Gregory Machin wrote: > Hi > My perl script is called by a bash script, used in a compile / build env. > But the bash script is not seeing my script's exit and is timming out and > continuing ... > >

Re: need to return exit code

2006-07-31 Thread JupiterHost.Net
Gregory Machin wrote: Hi Hello, My perl script is called by a bash script, used in a compile / build env. But the bash script is not seeing my script's exit and is timming out and continuing ... How can I pass a standard exit code 0 = success 1 = fail to the operating system / calling scri

update statement execution in perl

2006-07-31 Thread Shourya Sengupta
Hi, I am using Win32::ODBC to connect to the database from a perl program. I have to execute an update statement. I have defined it as my $sql; $sql = ""; how to execute it? Regards, Shourya Infosys Technologies Ltd. Bangalore Extn: 62998 CAUTION - Disclaimer *

RE: Major Applications of Perl

2006-07-31 Thread Ryan Frantz
> -Original Message- > From: WCJ d/b/a http://ccsh.us/ [mailto:[EMAIL PROTECTED] > Sent: Monday, July 31, 2006 8:59 AM > To: beginners perl > Subject: Re: Major Applications of Perl > > On 7/31/06, Sastry <[EMAIL PROTECTED]> wrote: > > Are there any other major applications using Perl an

Re: Major Applications of Perl

2006-07-31 Thread WCJ d/b/a http://ccsh.us/
On 7/31/06, Sastry <[EMAIL PROTECTED]> wrote: Are there any other major applications using Perl and exploiting the features of Perl? There are "many" applications written in perl that are simply not advertised at - http://www.oreillynet.com/pub/a/oreilly/perl/news/success_stories.html The belo

Re: if clause

2006-07-31 Thread Mumia W.
On 07/31/2006 03:45 AM, Dr. Claus-Peter Becke wrote: dear members, using a subroutine's resulting argument in an if-clause i compare this string with another term. but although each of the term has the value of the other i don't achieve the result i'm looking for. if (($Q::partofspeech eq 'n

RE: if clause

2006-07-31 Thread Charles K. Clarkson
Dr. Claus-Peter Becke wrote: : although for example the values of &databaserequest_noun : and $Q::lexicalentry both are 'Italy' i get the resulting : message "the entry isn't part of the database". what's : going wrong? databaserequest_noun($col, $table, $case) and $Q::lexicalentry are not bo

Re: need to return exit code

2006-07-31 Thread Prabu
Gregory Machin wrote: Hi My perl script is called by a bash script, used in a compile / build env. But the bash script is not seeing my script's exit and is timming out and continuing ... How can I pass a standard exit code 0 = success 1 = fail to the operating system / calling script. Many Tha

if clause

2006-07-31 Thread Dr. Claus-Peter Becke
dear members, using a subroutine's resulting argument in an if-clause i compare this string with another term. but although each of the term has the value of the other i don't achieve the result i'm looking for. if (($Q::partofspeech eq 'n')) { $table = $Q::partofspeech; $col = 'n_form'

need to return exit code

2006-07-31 Thread Gregory Machin
Hi My perl script is called by a bash script, used in a compile / build env. But the bash script is not seeing my script's exit and is timming out and continuing ... How can I pass a standard exit code 0 = success 1 = fail to the operating system / calling script. Many Thanks -- Gregory Machin