|
-
Dec 16th, 2002, 02:01 PM
#1
Thread Starter
Hyperactive Member
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?
-
Dec 16th, 2002, 03:07 PM
#2
Thread Starter
Hyperactive Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|