Example of a meromorphic function in $\mathbb{C}$ but not in $\mathbb{C}_{\infty}$

I need to produce an example of a meromorphic function on $\mathbb{C}$ but not meromorphic on the Riemann sphere $\mathbb{C}_{\infty}$. Will this work: $f(z)=e^z-1/z$? Other examples are welcome. Thank you.

• You probably mean $\mathcal C$ rather than $\mathbb C$; the latter denotes the complex numbers. Aug 4 '12 at 20:02
• @MarcvanLeeuwen I dont understand really. Aug 4 '12 at 20:14
• Katuk: @Marc seems to have thought that you were talking about the function spaces $\mathcal C$ and $\mathcal C^\infty$ rather then the complex plane and Riemann sphere. (He might have been been confused by the strange wording "meromorphic function in $\mathbb C$" rather than "on $\mathbb C$" or "function that is meromorphic on/in $\mathbb C$", since "in $\mathbb C$" modifies "meromorphic" rather than "function"). Aug 4 '12 at 20:49
• Indeed I was put off by "in $\mathbb C$" since $\mathbb C$ contains no functions at all. I've now edited the question. Aug 5 '12 at 8:08

I just wanted to note that your example $e^z-\frac1z$ works but so does the simpler $e^z$. (You can add in the $-\frac1z$ in order to put a pole in $\mathbb C$ if you like, but typically holomorphic functions are considered particular instances of meromorphic functions).
Meromorphic functions on $\mathbb{C}_{\infty}$ are rational functions. Let $f(z)$ be an entire function which is not polynomial, for example $e^z$ or sin $z$. Let $g(z)$ be an entire function which is not constant $0$. Suppose $f(z)/g(z)$ is not a rational function, for example let $g(z)$ be a polynomial. Then both $f(z)/g(z)$ and $g(z)/f(z)$ are meromorphic on $\mathbb{C}$ but not meromorphic on $\mathbb{C}_{\infty}$.