The @ symbol

2006-01-13 Thread Gerald Wheeler
trying to include the following code with the abc.pl script... the snippet works in an html/css environment print EOF; style type=text/css media=all @import url(theta.css); @media print { body {background: white; color: black; font: 12pt

Re: Help with my thought process...parsing a log

2006-01-13 Thread Robert Hicks
His suggestion works great! I just have to figure out the time diff part and then I am done. : ) Robert -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: The @ symbol

2006-01-13 Thread Adriano Ferreira
A here document (like the one you wrote in your script between EOF; and \nEOF\n) also does interpolation, which means things like $foo and @import will try the interpolation of $foo and @import variables. If you don't want interpolation, just use print 'EOF'; instead of print EOF; It is in

Re: The @ symbol

2006-01-13 Thread Adriano Ferreira
On 1/13/06, Adriano Ferreira [EMAIL PROTECTED] wrote: It is in core documentation somewhere, even though I could not locate it right now. Here it is: try Cperldoc perlop in the section Regexp Quote-Like Operators, search for the item EOF and everything is explained there. -- To unsubscribe,

Re: CLOSING Re: Obtaining complete Unix command line that evoked script as string

2006-01-13 Thread JupiterHost.Net
Lief, no, you're joining JupiterHost in misreading my posts (!): command *line*, not *command*. It is a bit subtle, but its also the whole point I'm not misunderstanding, you are :) You want: echo foo | script.pl -p 100 foo.txt not just: script.pl -p 100 The point is: How can a

Re: Matching the first string

2006-01-13 Thread mgoland
- Original Message - From: alex litvak [EMAIL PROTECTED] Date: Thursday, January 12, 2006 3:11 pm Subject: Matching the first string Hello all Hello im new in perl and i need some help Welcome i`ve written a script whose purpose is to put files in different directories by its

Re: Matching the first string

2006-01-13 Thread John Doe
[EMAIL PROTECTED] am Freitag, 13. Januar 2006 18.28: [...] i`ve written a script whose purpose is to put files in different directories by its first later, the problem is that every file begins with different chars for example 01 - Eminem Encore.mp3 my question is how can i get to the

dprofpp

2006-01-13 Thread Gerard Robin
Hello, I am runing an example (in Debbugging Perl of Martin Brown) there are two scripts which product the same output but one contains three subroutines and the other only one subroutine. The outputs: 3 subroutines ~~ Total Elapsed Time = 0.199198 Seconds User+System Time =

Re: Matching the first string

2006-01-13 Thread Shawn Corey
John Doe wrote: [EMAIL PROTECTED] am Freitag, 13. Januar 2006 18.28: [...] i`ve written a script whose purpose is to put files in different directories by its first later, the problem is that every file begins with different chars for example 01 - Eminem Encore.mp3 my question is how can i get

Re: The @ symbol

2006-01-13 Thread Tom Phoenix
On 1/13/06, Gerald Wheeler [EMAIL PROTECTED] wrote: The @ symbols are misread and thus this cause errors... escaping the @ symbols doesn't work It should work if you escape them correctly, which is to say with a preceding backslash. How did you escape them that didn't work? print EOF; This

Re: CLOSING Re: Obtaining complete Unix command line that evoked script as string

2006-01-13 Thread Jay Savage
On 1/12/06, Grant Jacobs [EMAIL PROTECTED] wrote: So sorry to see you go. There's nothing bad about me unsubscribing (you're reading me very negatively!). Its just I get so much mail that I prefer to unsubscribe and browse HTML archives if I'm not actively asking something. The only

Re: The @ symbol

2006-01-13 Thread Chris Devers
On Fri, 13 Jan 2006, Gerald Wheeler wrote: trying to include the following code with the abc.pl script... the snippet works in an html/css environment print EOF; style type=text/css media=all @import url(theta.css); @media print { body

Re: Obtaining complete Unix command line that evoked script as string LONG

2006-01-13 Thread Leif Ericksen
On Fri, 2006-01-13 at 11:02 +1300, Grant Jacobs wrote: I'll be closing this unless I can see leads soon as I'm pretty much out of time and I'll be unsubscribing when I'm done. That is fine do what you have to do... please read on... As you can see, I really do just need the command line! It

Re: interpolation

2006-01-13 Thread The Ghost
I know I could do that, but what if I don't know the variable names in the string? $sql=~s/\$Status/$Status/; could I do: $sql=~s/\$(\S+)/${$1}/; On Jan 10, 2006, at 5:57 PM, John Doe wrote: The Ghost am Dienstag, 10. Januar 2006 21.57: I want to pull some text from a database:

RE: The @ symbol

2006-01-13 Thread Timothy Johnson
I just ran into this the other day. It is easy to forget the different ways that the operator can be used. Basically Perl looks at the way you quote your termination string (HERE, EOF, etc.). If you don't quote it, Perl will assume double-quotes. Put single quotes around your termination

RE: CLOSING Re: Obtaining complete Unix command line that evoked script as string

2006-01-13 Thread Bliss, Kevin
-Original Message- From: Jay Savage [mailto:[EMAIL PROTECTED] Sent: Friday, January 13, 2006 11:35 AM To: Grant Jacobs; beginners perl Subject: Re: CLOSING Re: Obtaining complete Unix command line that evoked script as string On 1/12/06, Grant Jacobs [EMAIL PROTECTED] wrote: So

sdf

2006-01-13 Thread Tony Frasketi
asdfdsf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

asdf 2

2006-01-13 Thread Tony Frasketi
asdf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: asdf 2

2006-01-13 Thread Jeremy Vinding
Tony Frasketi wrote: asdf I'm not sure I understand the question. --jjv -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: sdf

2006-01-13 Thread Jeremy Kister
On 1/13/2006 5:47 PM, Tony Frasketi wrote: asdfdsf Jeopardy? How do I annoy thousands of intelligent people while giving my email address out to spammers, declaring my incompetence, and humiliating my brother, Joe, (by telling everyone just how poorly I programmed his website) all in less than

Win32 distributions - What are people using?

2006-01-13 Thread Dan Huston
Greetings All: I noticed on CPAN that there are several Perl ports for Win32. Of course I am aware of ActiveState, but have others had success with any of the others? The main issue I keep running into is installing modules from CPAN using the CPAN module and so I am looking for a better

Re: CLOSING Re: Obtaining complete Unix command line that evoked script as string

2006-01-13 Thread Jay Savage
On 1/13/06, Bliss, Kevin [EMAIL PROTECTED] wrote: -Original Message- From: Jay Savage [mailto:[EMAIL PROTECTED] Sent: Friday, January 13, 2006 11:35 AM To: Grant Jacobs; beginners perl Subject: Re: CLOSING Re: Obtaining complete Unix command line that evoked script as string On

Re: Win32 distributions - What are people using?

2006-01-13 Thread Chris Devers
On Fri, 13 Jan 2006, Dan Huston wrote: I noticed on CPAN that there are several Perl ports for Win32. Of course I am aware of ActiveState, but have others had success with any of the others? The main issue I keep running into is installing modules from CPAN using the CPAN module and so I