Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: A Tricky Problem with Context

by RSevrinsky (Scribe)
on Apr 08, 2002 at 08:37 UTC ( #157386=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    x = FetchSomethingStrange(a)
    
    Function FetchSomethingStrange(p as Integer)
    ...
        FetchSomethingStrange = "my string result"
      End If
    End Function
    
  2. or download this
    $x = b_split('john,biran,someone',',');
    print($x->[0] . $x->[2]);
    
    ...
        $delimiter = quotemeta($delimiter);
        return [ split(/$delimiter/, $string) ];
    }
    
  3. or download this
    $x = FetchSomethingStrange($a);
    
    sub FetchSomethingStrange {
    ...
      }
      return $FetchSomethingStrange; # Autoreturn 
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://157386]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2021-10-26 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (90 votes). Check out past polls.

    Notices?