How long can $_ be?

2002-03-14 Thread Richard Smith
My Perl doesn't know what strlen is. Is it part of a module? Oops. Don't get your perl mixed up with your C, Smiddy. I meant length($_) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: FW: How long can $_ be?

2002-03-14 Thread Elaine -HFB- Ashton
Anette Seiler [[EMAIL PROTECTED]] quoth: * * This got me wondering. Is the behavior you see caused by limitations * for $_, or by limitations of the print function? You might try: * print strlen( $_ ), \n; * *My Perl doesn't know what strlen is. Is it part of a module? * *I don't think, it is

RE: How long can $_ be?

2002-03-13 Thread Anette Seiler
PROTECTED] Subject: RE: How long can $_ be? Is there some limit in how long the contents of the variable $_ can be? Not that I'm aware of, no. I encounter this problem on Solaris machines running Perl 5.005. On Windows with Perl 5.6.1. no such problem was encountered. What could

FW: How long can $_ be?

2002-03-13 Thread Richard Smith
Hi Folks, This got me wondering. Is the behavior you see caused by limitations for $_, or by limitations of the print function? You might try: print strlen( $_ ), \n; Thanks, Smiddy -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How long can $_ be?

2002-03-13 Thread Elaine -HFB- Ashton
Anette Seiler [[EMAIL PROTECTED]] quoth: * *From the command line I start the script with perl script.pl. Now I *have to enter some text. I just enter any text, either by typing or by *cutting and pasting. I do not enter any strange characters or *newlines. I just type in some text. I even

RE: How long can $_ be?

2002-03-13 Thread Peter_Farrar
] SEILER@hbz-nr cc: w.deSubject: RE: How long can

Re: FW: How long can $_ be?

2002-03-13 Thread Anette Seiler
Hi Smiddy, you wrote: This got me wondering. Is the behavior you see caused by limitations for $_, or by limitations of the print function? You might try: print strlen( $_ ), \n; My Perl doesn't know what strlen is. Is it part of a module? I don't think, it is a limitation of the print

How long can $_ be?

2002-03-12 Thread Anette Seiler
Hi! Is there some limit in how long the contents of the variable $_ can be? The problem I have is following: my script reads a file line by line. These lines are fairly long. As soon as I work with the long lines problems arise. The script chops off the first part of the line. When I print

RE: How long can $_ be?

2002-03-12 Thread David Gray
Is there some limit in how long the contents of the variable $_ can be? Not that I'm aware of, no. I encounter this problem on Solaris machines running Perl 5.005. On Windows with Perl 5.6.1. no such problem was encountered. What could cause the problem? I suppose it might be a a

RE: How long can $_ be?

2002-03-12 Thread Nikola Janceski
12, 2002 9:06 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: How long can $_ be? Is there some limit in how long the contents of the variable $_ can be? Not that I'm aware of, no. I encounter this problem on Solaris machines running Perl 5.005. On Windows with Perl 5.6.1

RE: How long can $_ be?

2002-03-12 Thread Hanson, Robert
PROTECTED] Subject: How long can $_ be? Hi! Is there some limit in how long the contents of the variable $_ can be? The problem I have is following: my script reads a file line by line. These lines are fairly long. As soon as I work with the long lines problems arise. The script chops off the first