Perl and strings

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Novarro Williams

    Perl and strings

    I have a file which contains a long string of data, I need to read
    the string in chunks of 512 bytes any suggestions?
  • Gunnar Hjalmarsson

    #2
    Re: Perl and strings

    Novarro Williams wrote:[color=blue]
    > I have a file which contains a long string of data, I need to read
    > the string in chunks of 512 bytes any suggestions?[/color]

    perldoc -f read

    --
    Gunnar Hjalmarsson
    Email: http://www.gunnar.cc/cgi-bin/contact.pl

    Comment

    • nobull@mail.com

      #3
      Re: Perl and strings

      Gunnar Hjalmarsson <noreply@gunnar .cc> wrote in message news:<obyTb.475 45$mU6.182131@n ewsb.telia.net> ...[color=blue]
      > Novarro Williams wrote:[color=green]
      > > I have a file which contains a long string of data, I need to read
      > > the string in chunks of 512 bytes any suggestions?[/color]
      >
      > perldoc -f read[/color]

      See also $/ in perldoc perlvar

      This newsgroup does not exist (see FAQ). Please do not start threads
      here. Please do not join in with existing threads without pointing
      out that this newsgroup does not exist.

      Comment

      Working...