Results 1 to 2 of 2

Thread: Perl CGI - simple question

  1. #1

    Thread Starter
    Hyperactive Member Eyes.Only's Avatar
    Join Date
    Oct 2001
    Location
    Minnesota
    Posts
    347

    Question Perl CGI - simple question

    Im super new to perl and i dont quite understand this.

    I create a sub, and send $text. Then i split $_ into @lines.
    Now if i do a foreach loop and change the $line in @lines, i then want to save that and return as $list. But its a list so if i go
    $text = @lines #im just going to get the number of lines right?

    how do i return it as the changed $text?

  2. #2

    Thread Starter
    Hyperactive Member Eyes.Only's Avatar
    Join Date
    Oct 2001
    Location
    Minnesota
    Posts
    347
    oh, nvm heh...join

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width