Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re:{2} Is there a limit on STDIN string size 259?

by jeroenes (Priest)
on Nov 15, 2001 at 13:19 UTC ( #125532=note: print w/replies, xml ) Need Help??


in reply to Re: Is there a limit on STDIN string size 259?
in thread Is there a limit on STDIN string size 259?

blakem, I think he ment that this was the largest string he could handle. For good measure, I ran your line with the numbers 274,74,85,85 and it works on my box.

I repeated this with yesterdays framechat log (nice and long textfile):

perl -e '$a=join "", <STDIN>; $a=~tr/\n/ /s; print $a'\ </tmp/20011113.txt | \ perl -e '$_=<STDIN>; foreach(split){print "$_\n"}' | less
Works. Would this mean that there is an issue with the solaris shell?

Jeroen

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://125532]
help
Chatterbox?
[james28909]: @{$hash{$key}}$_;
[ikegami]: That should be ${ $hash{$key} }[$_] because it's $a[$_] when you don't use a ref.
[oiskuu]: James, that's an array slice you have there (over some hash value)
[ikegami]: Mini-Tutorial: Dereferencing Syntax

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2017-04-27 19:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (512 votes). Check out past polls.