VMware {code} Community
edechaux
Contributor
Contributor

\[VI PERL] Just a little precision about session saving

Hi all,

Here is a little hint about session saving.

I have been trying to save a session for a few hours unsuccessfully.

...I was trying with the wrong syntax.

In fact I think the documentation should tell the session filename parameter should be passed as a hash and not just a fiename :

Vim::save_session (session_file => $filename);

Regards

--

Eric

Reply
0 Kudos
2 Replies
edechaux
Contributor
Contributor

I forgot to tell the same thing about session loading. The documentation only tells about a filename parameter.

Instead, load_session needs a hash parameter :

Vim::load_session ( service_url => $url, session_file => $filename);

Reply
0 Kudos
jnhall
Enthusiast
Enthusiast

Thanks - we will check this out.

-joseph

Reply
0 Kudos